Commit Graph

47 Commits

Author SHA1 Message Date
Miran
e718dc75c5 Merge tests into a larger file (part 2 of ∞) (#9335)
* merge controlflow tests

* merge distinct tests

* merge enum tests

* merge fields tests

* merge implicit tests

* merge iter issues tests

(cherry picked from commit 3c9fcc4c30)
2018-11-01 17:36:14 +01:00
Miran
0714de4f3b Iter test: closes #3819 (#9272)
(cherry picked from commit 462bff48b2)
2018-11-01 17:29:10 +01:00
Araq
6892ce336c enhance iterator test case, ensure consistency between inline and closure iterators regarding parameter passing semantics 2018-09-22 13:29:00 +02:00
Andreas Rumpf
c554c2a581 closes #3837 2018-09-16 21:37:11 +02:00
Yuriy Glukhov
1e6eca973d Fixes #8243 (#8904) 2018-09-07 16:30:50 +02:00
Yuriy Glukhov
d2eea9e1c9 Fixes #8851 (#8859) 2018-09-04 08:18:11 +02:00
LemonBoy
1fc3a68205 Access implicit result trough envP in closures (#8471)
Reuse the existing machinery, most of the changes are only needed to
handle the `result = result` node in nkReturnStmt produced by the
closure iterator transform.

Fixes #338
2018-07-30 08:34:15 +02:00
LemonBoy
64c84a7d11 Fix codegen for mInSet magic and empty sets (#8140)
Fixes #8041
2018-06-29 15:10:51 +02:00
Yuriy Glukhov
ec1d42b9f0 Cleanup copypaste leftover 2018-06-07 15:28:41 +03:00
Yuriy Glukhov
fef60716bf Fixed yield in nkBlockExpr 2018-06-07 00:15:46 +03:00
Yuriy Glukhov
0ec2b33c50 Fixed yield in dotExpr and nkOfBranch lowering. Closes #7969. 2018-06-06 16:35:40 +03:00
Yuriy Glukhov
14ca79fe1f More elaborate nkStmtListExpr lowering 2018-05-09 22:25:28 +03:00
Yuriy Glukhov
ce63490928 Yield in try 2018-05-09 22:25:28 +03:00
Jacek Sieka
72dfe176f5 remove dead code elimination option (#7669) 2018-04-23 11:02:38 +02:00
Andreas Rumpf
b35ee82c48 fixes #6992 2018-02-25 17:28:47 +01:00
Andreas Rumpf
27e89eef6b closes #3583 2017-09-01 16:22:23 +02:00
Andreas Rumpf
39b25cf4dc simple closure iterator calling closure iterator works; refs #3837 2016-12-27 09:51:58 +01:00
Andreas Rumpf
9c9a7b6520 fixes #3221 2016-08-22 18:31:26 +02:00
Andreas Rumpf
3838cd0066 fixes iterator codegen regression 2016-01-14 10:52:18 +01:00
Andreas Rumpf
d0709cc758 fixes more regressions 2016-01-13 03:03:59 +01:00
Andreas Rumpf
4d10937a30 fixes regressions 2016-01-05 15:39:49 +01:00
Andreas Rumpf
159a2ff955 fixes #3636 2016-01-04 02:04:59 +01:00
Andreas Rumpf
8fb6865b24 fixes #1725 2016-01-04 00:51:45 +01:00
Andreas Rumpf
b4c62d5fed async works again 2016-01-03 23:20:53 +01:00
Andreas Rumpf
307a6095fa made closure iterators tests green, updated docs 2015-12-31 00:16:38 +01:00
Araq
217e0ab6e9 lambda lifting support for iterToProc plugin 2015-12-01 00:53:30 +01: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
622d7e4044 disabled dubious testcase 2015-07-14 01:37:07 +02:00
def
0b4557b2ce Clean up tests/iter 2015-02-04 21:40:33 +01:00
def
d91368c8d0 Add test for #1836 2015-02-04 19:47:58 +01:00
Araq
2780e7a54a check test result 2015-02-01 02:29:55 +01:00
Araq
ecc3c3bd03 fixes #2023 2015-02-01 02:27:39 +01:00
Araq
a2b7e6c392 better C++ support wrt 'this' 2015-01-18 02:33:43 +01:00
Araq
9d0ae03918 fixes #1838 2015-01-11 13:51:30 +01:00
Araq
27141f6016 fixes #1803 2015-01-10 23:52:29 +01:00
Araq
61c5c92f09 fixes #1656 2014-12-15 02:15:11 +01:00
Araq
aae180e26b fixes #1560 2014-11-11 21:32:22 +01:00
Araq
30823c1ce3 make tests green 2014-08-31 15:15:26 +02:00
Araq
c6034277fc further adaptations 2014-08-29 09:12:12 +02:00
Dominik Picheta
2fb5d62927 Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01:00
Zahary Karadjov
4b09a89758 fix #966
test for ``map`` defined as inline iterator
2014-03-09 14:02:01 +02:00
Zahary Karadjov
518b794491 implicit auto return type for inline iterators 2014-03-08 23:27:33 +02:00
Zahary Karadjov
085b339b8b implements higher-order inline iterators and return type inference for iterators 2014-03-08 22:57:06 +02:00
Zahary Karadjov
862c0ef83d split the inline and closure iterators into different symbol kinds for easier discrimination between them 2014-03-06 21:57:35 +02:00
Araq
e6a50307bb fixes #885 2014-02-09 02:37:49 +01:00
Araq
37229df7fc next steps for closure iterators 2014-01-22 17:32:38 +01:00
Araq
20b5f31c03 new tester; all tests categorized 2014-01-13 02:10:03 +01:00