metagn
4ca2dcb404
Named arguments in commands + many grammar fixes ( #20994 )
...
* Breaking parser changes, implement https://github.com/nim-lang/RFCs/issues/442
Types are separated from expressions and better reflected in the grammar.
* add test
* more accurate grammar
* fix keyword typedescs
* accept expressions in proc argument lists
* CI "fixes"
* fixes
* allow full ref expressions again, adapt old tests
* cleanup, fix some tests
* improve grammar, try and revert semtypes change
* restrict sigil binding to identOrLiteral
* fix, should have caught this immediately
* add changelog entry, fix double not nil bug
* correct grammar
* change section
* fix
* real fix hopefully
* fix test
* support LL(1) for tuples
* make grammar.txt too
2022-12-06 13:11:56 +01:00
metagn
79ec6d677c
Add back error message to tprevent_forloopvar_mutations ( #20992 )
2022-12-02 16:19:26 +08:00
Bung
658b28dc57
tyInt tyUint fit target int bit width ( #20829 )
2022-12-01 13:34:00 +01:00
flywind
7bfb9f0002
close #17636 ( #17643 )
2021-04-06 16:20:01 +02:00
flywind
70a30317f7
fix #16693 : testament spec nimout too lax ( #16698 )
...
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
2021-04-04 13:47:28 -07:00
Timothee Cour
31a8cf16bb
testament spec: remove errmsg alias of errormsg ( #16188 )
2020-11-29 17:32:34 -08:00
flywind
47ce24f680
fix #12303 ( #15964 )
2020-11-14 12:51:23 +01:00
Timothee Cour
814f150184
fix #13848 : make var result work with nim cpp ( #13959 )
...
* fix #13848
* add exhaustive tests for var result
2020-04-13 14:16:06 +02:00
Timothee Cour
6a0e87eb38
cleanup Ordinal ( #13501 )
2020-02-27 10:43:13 +01:00
Timothee Cour
b80d70b0f3
fix tests
2019-07-08 15:24:20 -07:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Araq
dc5851e873
added a test to ensure that for-loop-variables cannot be mutated
2018-08-28 12:16:14 +02:00
Andreas Rumpf
b43025b754
fixes #5113
2018-04-21 23:58:24 +02:00
Andreas Rumpf
299e944cf7
fixes the 'var T' checking
2018-03-24 10:10:28 +01:00
Andreas Rumpf
3be4f9111c
enforce 'var T' produces a view into the first parameter; refs #7373
2018-03-24 09:41:04 +01:00
Andreas Rumpf
6f747674be
more checking for 'var T' as return type; refs #7373
2018-03-24 08:37:09 +01:00
Andreas Rumpf
ddc131cf07
the parser finally parses 'echo {1,2}' as it should
2017-09-30 21:35:30 +02:00
Yuriy Glukhov
2166b7bc46
Fixed ret by var in js
2015-10-15 16:04:53 +03:00
Adam Strzelecki
e80465dacf
tests: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
20b5f31c03
new tester; all tests categorized
2014-01-13 02:10:03 +01:00