flywind
9df195ef58
style usages part one (openarray => openArray) ( #19321 )
...
* style usages (openArray)
* revert doc changes
2022-01-04 13:29:50 +01:00
Jason Beetham
90bfd34250
'[]' can now be used for iterators ( #18814 )
2021-09-06 15:30:49 +02:00
Andreas Rumpf
73841ae194
fixes #14165 , fixes #18739 , fix the second example of #6269 ( #18812 )
2021-09-06 13:12:14 +02:00
flywind
061a9183f7
replace wrt with proper word ( #18724 )
...
* what does wrt mean?
* clarify
2021-08-22 06:21:53 +02:00
Timothee Cour
24445d31b3
improve several tests in testament ( #18635 )
...
* silence error output from template_various.nim
* any => auto in tests
* avoid showing failed for parseSpec since this is expected behavior in 2 cases: tincludefile.nim, tnav1.nim
* enforce InheritFromException
* fixup
2021-08-08 19:28:49 +02:00
Yuriy Glukhov
a6bd6c7ed8
Fixes #17849 ( #18055 ) [backport:1.2]
...
* Fixes #17849
* Update compiler/closureiters.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-05-30 22:38:33 +02:00
flywind
13a2030014
follow up #17486 ( #17492 )
...
* fix nim js cmp fails at CT
* follow up #17486
* test more branches
* better
2021-03-24 08:49:05 +01:00
Juan Carlos
78a99587a4
Deprecate TaintedString ( #15423 )
...
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com >
2021-01-15 18:56:38 -08:00
flywind
38b8d080f2
close #1550 add testcase ( #16640 )
2021-01-08 14:42:38 +01:00
Timothee Cour
7e1ae35195
testament: error instead of silently ignore invalid targets; remove pointless alias target vs targets; document matrix; DRY ( #16343 )
...
* testament: error instead of silently ignore invalid targets
* s/target/targets/
* fix test; refs #16344
* address comments
* Update testament/specs.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-12-14 10:58:29 +01:00
flywind
7d51ad96e9
close #2771(add testcase for #2771 ) ( #15932 )
2020-11-13 11:57:56 +01:00
Andreas Rumpf
c2434d939e
fixes #15360 [backport:1.2] ( #15378 )
2020-09-21 12:35:23 +02:00
Danil Yarantsev
4c43915b59
Add test-cases for #12576 and #12523 ( #15085 )
...
* Add a test-case for #12576
* Add a test-case for #12523
2020-07-27 13:01:50 +02:00
Clyybber
db6ffeba8e
Add testcase for #13815 ( #14956 )
2020-07-10 17:31:15 +02:00
Arne Döring
37692baf49
fix #13739 ( #13742 )
2020-04-07 14:42:59 +02:00
Andreas Rumpf
7ee08b8cf6
Revert "fix #13417 ( #13712 )" ( #13728 )
...
This reverts commit a5f02cac85 .
2020-03-23 09:57:17 +01:00
Arne Döring
a5f02cac85
fix #13417 ( #13712 )
...
* fix #13417
* add test
2020-03-22 20:03:51 +01:00
cooldome
b3176b8817
Attempt to finish off araq cpp exceptions ( #13695 )
...
* config update
* disable a questionable test
* remove c++ exception handling IDs, new impl doesn't require it anymore
* C++ based exceptions finally work
* fixes bootstrapping problem in C++ mode
* teach GCC it's 2020 now
* more bugfixes for C++ based exception handling
* apply cooldome's patch
* another attempt to enable C++11
* bug fix
Co-authored-by: Araq <rumpf_a@web.de >
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-03-19 20:38:25 +01:00
cooldome
613ea6e85e
fixes #12747 [backport] ( #13651 )
...
* fixes #12747
* fix tests
* improve code style
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-03-16 13:40:40 +01:00
cooldome
649bf326bf
fixes #12945 ( #12959 )
2019-12-24 20:34:14 +01:00
narimiran
c6a451c584
remove unused imports from tests
2019-11-06 14:35:45 +01:00
Araq
1794cd477d
expr -> untyped
2019-11-05 16:55:08 +01:00
Andreas Rumpf
3ba3307d61
remove deprecated procs ( #12535 )
2019-11-05 11:05:46 +01:00
Arne Döring
7cf3395d85
refactor illegal iterator assignment detection ( #12212 )
...
* refactor illegal iterator assignment detection
* delete crappy test
2019-10-11 08:43:58 +02:00
Yuriy Glukhov
60911304b4
Fixed yield in nnkChckRange ( #12160 )
2019-09-10 07:54:06 +02:00
cooldome
2b565aad89
Support iterators returning lent T ( #11938 )
...
* lent iterators
* rebase tests
* update changelog
* fix comments, more tests
2019-08-31 19:23:54 +02:00
narimiran
cb71564785
close #9827 by adding a test
2019-05-30 11:18:17 +02:00
narimiran
d1b4f1082e
close #5859 by adding a test
2019-05-29 13:37:55 +02:00
Ico Doornekamp
c01f7bfdaf
More specific error message for unsupported recursion in iterators ( #11283 )
2019-05-20 15:22:42 +02:00
Jasper Jenkins
6fc74cec55
Iterator fixes ( #11234 )
2019-05-13 20:50:21 +02:00
Jasper Jenkins
55a3b51e40
fix complex typdesc iterators
2019-05-08 14:29:42 -07:00
Arne Döring
9c3e23e075
Fix ..< iterator ( #11103 )
...
* add iterator overloads
* add test
2019-05-03 23:43:41 +02:00
Miran
e7878c0d08
add tests for recently closed issues ( #10722 )
2019-02-23 10:41:35 +01:00
Andreas Rumpf
06a8b48811
disable one more test for C++
2019-01-15 10:02:09 +01:00
Araq
3b783f7e13
Testament: refactoring; makes the test joiner green
2018-12-11 21:23:23 +01:00
Arne Döring
a5ecbf823f
lots of small changes
2018-12-11 21:23:22 +01:00
Arne Döring
2a4c09ff88
megatest can be executed
2018-12-11 21:23:21 +01:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Yuriy Glukhov
410fd1deae
Fixes 9716 [backport] ( #9790 )
...
* reuse temporary variable
* fixes #9716 [backport]
* Declare local vars in safer place
2018-11-24 10:50:48 +01:00
Arne Döring
031bfdec6f
make run the default action of a test in tester
2018-11-23 11:58:28 +01:00
Yuriy Glukhov
5a2290f788
Fixed yield in nkObjConstr. Fixes #9694 [backport] ( #9744 )
...
* Fixed yield in nkObjConstr. Fixes #9694
* Separate expr lowering from state splitting, introduce a clear lowering internal error
2018-11-18 23:09:33 +01:00
Miran
1b17c9f693
More descriptive names of test files ( #9531 )
...
* change generic `tissues` name to more specific
* change `tvarious` to more specific names
2018-10-29 17:07:27 +01:00
Araq
68c6d709d3
fixes #5519
2018-10-18 17:06:04 +02:00
Araq
4644484fb7
closes #5321
2018-10-18 17:00:23 +02:00
Miran
749dbce4c6
Merge tests into a larger file (part 5 of ∞) ( #9368 )
...
* merge magics
* merge metatype tests
* merge method tests
* merge objects tests
* change `import future` to `import sugar`
Nim in Action tests are left with `import future`, to ensure compatibility.
* merge overload tests
* merge proc tests
* merge procvar tests
* merge range tests
* merge seq tests
* merge sets tests
* remove wrong assert from `tsets3`
* fix `jsTests`
* better fix
2018-10-16 10:50:10 +02:00
Miran
3c9fcc4c30
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
2018-10-13 14:58:31 +02:00
Miran
462bff48b2
Iter test: closes #3819 ( #9272 )
2018-10-10 10:21:38 +02: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