Nim/tests/iter
ringabout f2dad94902
fixes #21306; fixes #20485; don't transform yields in the var section when introducing new local vars [backport: 1.6] (#21489)
* fixes #21306;  don't transform yields in the var section when introducing new local vars

* adds `inVarSection` so the var section in the var section is freshed

* use `isIntroducingNewLocalVars` to avoid yield transformations in var sections

* fixes comments
2023-03-10 14:19:31 +01:00
..
t1550.nim close #1550 add testcase (#16640) 2021-01-08 14:42:38 +01:00
t2771.nim close #2771(add testcase for #2771) (#15932) 2020-11-13 11:57:56 +01:00
t16076.nim follow up #17486 (#17492) 2021-03-24 08:49:05 +01:00
t21306.nim fixes #21306; fixes #20485; don't transform yields in the var section when introducing new local vars [backport: 1.6] (#21489) 2023-03-10 14:19:31 +01:00
tanoniter1.nim split the inline and closure iterators into different symbol kinds for easier discrimination between them 2014-03-06 21:57:35 +02:00
tarrayiter.nim '[]' can now be used for iterators (#18814) 2021-09-06 15:30:49 +02:00
tchainediterators.nim fixes #1838 2015-01-11 13:51:30 +01:00
tclosureiters.nim Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport] 2022-04-04 12:05:23 +02:00
tcountup.nim Fix ..< iterator (#11103) 2019-05-03 23:43:41 +02:00
timplicit_auto.nim make run the default action of a test in tester 2018-11-23 11:58:28 +01:00
titer.nim fixes #14165, fixes #18739, fix the second example of #6269 (#18812) 2021-09-06 13:12:14 +02:00
titer2.nim remove deprecated type pragma syntax, fix bugs that required it (#20199) 2022-09-03 09:52:13 +02:00
titer3.nim replace wrt with proper word (#18724) 2021-08-22 06:21:53 +02:00
titer4.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
titer5.nim Testament: refactoring; makes the test joiner green 2018-12-11 21:23:23 +01:00
titer6.nim Testament: refactoring; makes the test joiner green 2018-12-11 21:23:23 +01:00
titer7.nim Testament: refactoring; makes the test joiner green 2018-12-11 21:23:23 +01:00
titer8.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
titer9.nim new tester; all tests categorized 2014-01-13 02:10:03 +01:00
titer10.nim remove deprecated procs (#12535) 2019-11-05 11:05:46 +01:00
titer11.nim fixes #12747 [backport] (#13651) 2020-03-16 13:40:40 +01:00
titer12.nim add tests for recently closed issues (#10722) 2019-02-23 10:41:35 +01:00
titer13.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
titer14.nim close #9827 by adding a test 2019-05-30 11:18:17 +02:00
titer_issues.nim An unnamed break in a block now gives an UnnamedBreak warning (#20901) 2022-11-24 07:31:47 +01:00
titer_no_tuple_unpack.nim make run the default action of a test in tester 2018-11-23 11:58:28 +01:00
titerable.nim expr -> untyped 2019-11-05 16:55:08 +01:00
titerautoerr1.nim Iterator fixes (#11234) 2019-05-13 20:50:21 +02:00
titerautoerr2.nim Iterator fixes (#11234) 2019-05-13 20:50:21 +02:00
titerautoerr3.nim Iterator fixes (#11234) 2019-05-13 20:50:21 +02:00
titerconcat.nim megatest can be executed 2018-12-11 21:23:21 +01:00
titerovl.nim new tester; all tests categorized 2014-01-13 02:10:03 +01:00
titerslice.nim new tester; all tests categorized 2014-01-13 02:10:03 +01:00
titertypedesc.nim fix complex typdesc iterators 2019-05-08 14:29:42 -07:00
titervaropenarray.nim testament: error instead of silently ignore invalid targets; remove pointless alias target vs targets; document matrix; DRY (#16343) 2020-12-14 10:58:29 +01:00
tmoditer.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
tpermutations.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
treciter.nim More specific error message for unsupported recursion in iterators (#11283) 2019-05-20 15:22:42 +02:00
tscheduler.nim disabled dubious testcase 2015-07-14 01:37:07 +02:00
tshallowcopy_closures.nim defaults to ORC (#19972) 2022-09-23 13:05:05 +02:00
twrap_walkdir.nim make run the default action of a test in tester 2018-11-23 11:58:28 +01:00
twrongiter.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tyieldintry.nim fixes #21043; fixes a named exception in the infixAs expression which generate an implicit uninitialized let statement (#21081) 2022-12-12 23:14:44 +08:00