Nim/tests/parser
ringabout 38f876dd48
fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379)
* fixes #19795; remove parse pipeline

* isScript

* fixes nimscriptapi

* don't touch reorder

* check script

* fixes tests

* it seems implicit imports of system cause troubles

* access the first child of `nkStmtList`

* ignore comments

* minor messages

* perhaps increases hloLoopDetector

* the module is a stmtList, which changes the errors

* fixes nimdoc

* fixes tlinter

* fixes nim  secret tests

* fixes arc_misc

* fixes nim secret tests again

* safe; fixes one more test

* GlobalError is the root cause too

* fixes parsing errors

* put emit types to the cfsForwardTypes section

* fixes #11852; `{.push checks:off}` now works in procs

* disable navigator

* fixes nimdoc

* add tests for JS

* fixes nimsuggest
2023-02-22 20:34:20 +01:00
..
t12274.nim defaults to ORC (#19972) 2022-09-23 13:05:05 +02:00
t15667.nim Small parser loop fix (#17904) 2021-04-30 17:17:29 +02:00
t19662.nim fixes #19662; Indent level errored for first line (#19718) 2022-04-25 12:00:23 +02:00
t20922.nim fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) 2023-02-22 20:34:20 +01:00
tcommand_as_expr.nim Named arguments in commands + many grammar fixes (#20994) 2022-12-06 13:11:56 +01:00
tcommandequals.nim Named arguments in commands + many grammar fixes (#20994) 2022-12-06 13:11:56 +01:00
tcommandindent.nim Named arguments in commands + many grammar fixes (#20994) 2022-12-06 13:11:56 +01:00
tdo.nim treat do with pragmas but no parens as proc (#19191) 2021-12-05 06:44:22 +01:00
tdoc_comments.nim fixes #18847 [backport] (#18870) 2021-09-20 09:09:53 +02:00
tdomulttest.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tdoublenotnil.nim Named arguments in commands + many grammar fixes (#20994) 2022-12-06 13:11:56 +01:00
tifexprs.nim Fix #15305 (#15311) 2020-09-12 12:39:46 +01:00
tinvcolonlocation1.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tinvcolonlocation2.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tinvcolonlocation3.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tinvifstmt.nim Add testcase for invalid if statement (#15313) 2020-09-12 14:28:19 +02:00
tinvwhen.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tletcolon.nim fixes #10861 (#10877) 2019-03-21 06:48:54 +01:00
tmultiline_comments.nim fixes multi-line comments 2016-01-17 23:46:23 +01:00
toprprec.nim Remove immediate pragma (#11308) 2019-05-29 22:21:51 +02:00
tpostexprblocks.nim allow omitting stmts using finally as post expr blocks; make it consistent with else, except etc. (#21361) 2023-02-14 07:29:30 +01:00
tprecedence.nim use arrow precedence in spec (#20166) 2022-09-06 21:24:32 +02:00
tprocexprasstmt.nim allow proc expressions in place of statements (#20935) 2022-11-29 06:37:00 +01:00
tproctype_pragmas.nim fixes #1802 2015-03-22 01:38:13 +01:00
tstatementoperators.nim make from an operator (#14241) 2020-05-08 07:54:46 +02:00
tstmtlists.nim new .redefine pragma for templates, warn on redefinition without it (#20211) 2022-08-23 21:41:30 +02:00
ttry.nim fixes #21144; try expression will not match the less indentation except (#21152) 2022-12-21 21:46:14 +01:00
ttupleunpack.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
ttypeclasses.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
ttypecommandcomma.nim Allow full commands and blocks in type sections (#19181) 2022-01-02 07:29:55 +01:00
ttypecommandindent1.nim Allow full commands and blocks in type sections (#19181) 2022-01-02 07:29:55 +01:00
ttypecommandindent2.nim Allow full commands and blocks in type sections (#19181) 2022-01-02 07:29:55 +01:00
ttypecommandindent3.nim Allow full commands and blocks in type sections (#19181) 2022-01-02 07:29:55 +01:00
ttypeexprobject.nim Named arguments in commands + many grammar fixes (#20994) 2022-12-06 13:11:56 +01:00
ttypeexprs.nim Named arguments in commands + many grammar fixes (#20994) 2022-12-06 13:11:56 +01:00
ttypemodifiers.nim unify tuple expressions (#13793) 2021-03-30 02:06:51 +02:00
ttypeof.nim fixes long standing parsing issue with command syntax 2015-03-22 01:38:14 +01:00
ttypesectioncalls.nim Allow full commands and blocks in type sections (#19181) 2022-01-02 07:29:55 +01:00
twhen_in_enum.nim make tests green again 2018-05-14 21:38:18 +02:00
twrongcmdsyntax.nim fixes #7582 2018-05-05 14:17:31 +02:00