flywind
98bd81b4a3
closes #3670 [add testcase for #3670 ] ( #15808 )
...
* add testcase
* Update tests/template/twhenintemplates.nim
Co-authored-by: Clyybber <darkmine956@gmail.com >
(cherry picked from commit 98cec6b692 )
2020-11-05 09:12:45 +01:00
flywind
daba6d935f
closes #7374 ( #15781 )
...
* add testcase for #7374
* minor
* fix test
(cherry picked from commit 1725db9295 )
2020-11-05 09:09:09 +01:00
Clyybber
fb58066b61
Fix #5691 ( #15158 )
...
* Fix #5691
* Cleanup and thoughts
* Use scope approach
* Seperate defined/declared/declaredInScope magics
* Fix declaredInScope
* Update spec accordingly
2020-08-27 15:50:59 +02:00
Clyybber
2cea52ee7e
Allow pragmas on parameters ( #15178 )
2020-08-11 22:28:49 +02:00
Clyybber
2629d619a1
Fix forward declaration issues in template/macro context ( #15091 )
...
* Fix forward declaration issues in template/macro context
* Correct forward declaration resolving for overloads
* Remove old dead code
* WIP consistent gensym ids
* Minimize diff
* Remove obsoleted hack
* Add templInstCounter to give unique IDs to template instantiations
* Remove obsoleted code
* Eh, init in myOpen, not myProcess...
* Remove optNimV019
* Add testcase for #13484
2020-07-29 16:17:20 +02:00
Clyybber
425972c4e8
Add testcase for some old fixed issues ( #14960 )
...
* Add testcase for #2703
* Add testcase for #2586
* Small fix
2020-07-10 19:21:50 +02:00
Clyybber
b21782a667
Add testcase for #4722 ( #14954 )
2020-07-10 17:02:49 +02:00
Timothee Cour
a6cbe58e8c
typetraits.$: $((int, float), int) is now "((int, float), int)" instead of "(tuple of (int, float), int)" ( #14812 )
...
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-07-02 16:19:43 +02:00
Miran
e7f280bd26
Remove deprecated stuff from stdlib ( #14699 )
...
* update to the latest Jester
* remove deprecated procs from some stdlib modules
* 'criterion' is not maintained anymore and relies on obsolete stuff
2020-06-17 15:25:02 +02:00
jcosborn
5a22d6b57b
fix codegen bug due to changing existing symbol declaration in template ( #14666 )
2020-06-15 08:40:12 +02:00
Federico Ceratto
39290cf88c
Fix spellings ( #12277 ) [backport]
2019-09-27 07:02:54 +02:00
Andreas Rumpf
059a16b34d
fixes #12193 ( #12199 )
2019-09-16 15:38:07 +02:00
Andreas Rumpf
488f3ed085
fixes yet another gensym regression ( #12145 )
2019-09-06 00:45:00 +02:00
Andreas Rumpf
58bcf6cd46
fixes #12121 ( #12126 )
2019-09-05 08:21:01 +02:00
Andreas Rumpf
7ef85db9a9
fixes #12020 ( #12106 )
2019-09-02 15:47:56 +02:00
Andreas Rumpf
5f7a6aff06
fixes #11941 ( #12079 )
2019-08-29 00:35:05 +02:00
Andreas Rumpf
b07694cd90
new gensym handling ( #11985 )
...
* new .gensym implementation
* make astspec test green again
* introduce a --useVersion switch to group compatibility switches
* fixes #10180
* fixes #11494
* fixes #11483
* object constructor fields and named parameters are also not gensym'ed
* disabled broken package
2019-08-23 16:15:02 +02:00
Andreas Rumpf
9aad99bdfd
closes #7117
2019-08-22 19:08:35 +02:00
Andreas Rumpf
465815e894
improved the error message for #11494 ; closes #11494
2019-07-06 23:59:23 +02:00
Arne Döring
5b27b263fd
Remove immediate pragma ( #11308 )
...
* remove immediate from tests
* remove immediate from the compiler
2019-05-29 22:21:51 +02:00
narimiran
4f989b9162
close #5235 by adding a test
2019-05-29 11:52:54 +02:00
Arne Döring
f94ec363ab
Allow void macro result ( #11286 )
...
* allow void macro result
* add test for void macro result type
2019-05-21 21:31:40 +02:00
Andreas Rumpf
2fba65b29f
fixes #7937 ( #11244 )
2019-05-14 07:44:39 +02:00
Aditya Siram
a6d4421241
Fixes #9365 : let with exportC pragma in template. ( #11235 )
...
* Fixes #9365 : let with exportC pragma in template.
* Fix according to comments.
2019-05-14 01:34:32 +02:00
Araq
2475d92c36
fixes #10192
2019-05-06 21:42:49 +02:00
Miran
e7878c0d08
add tests for recently closed issues ( #10722 )
2019-02-23 10:41:35 +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
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Araq
e874705971
fixes nested gensym'ed parameters; fixes #9476
2018-12-08 13:30:06 +01:00
Arne Döring
9c2365d5c2
activated more tests, allow input in test spec
2018-11-23 11:58:28 +01:00
Arne Döring
e012eb1001
updated tests to be executed
2018-11-23 11:58:28 +01:00
Timothee Cour
b5448bf25c
fix #9647 tmpl=>nimf ( #9658 )
2018-11-14 08:27:48 +01:00
Miran
66a76d3165
Merge tests into a larger file (part 8 of ∞) ( #9583 )
...
* merge tuple tests
* merge trmacros tests
* merge template tests
2018-11-06 18:33:58 +01:00
Araq
9e48999567
closes #4750
2018-09-03 10:02:37 +02:00
Araq
e09eeb02bf
fixes #8052
2018-08-31 17:27:57 +02:00
Araq
eeafb1a720
make tdefault_nil test compile again
2018-08-22 15:43:36 +02:00
Andreas Rumpf
975114e114
make more tests green
2018-08-13 13:02:52 +02:00
Andreas Rumpf
ae82406c8b
make tests green again
2018-07-05 19:14:18 +02:00
Andreas Rumpf
0926754e68
make tests green again
2018-07-05 15:51:04 +02:00
Andreas Rumpf
aaceec0744
Merge pull request #7981 from cooldome/Fix_-7980
...
Fixes 7980
2018-06-12 11:50:40 +02:00
Vindaar
9c5f38850d
add test case for fix to #7997
2018-06-10 18:01:15 +02:00
cooldome
e03b3bdde7
fixes 7980
2018-06-06 23:41:19 +01:00
Zahary Karadjov
1c478db375
fix #7883 ; fix #7829
2018-05-26 20:46:22 +03:00
genotrance
0448d3f6ea
test case for #2416 ( #7649 )
2018-04-18 21:19:23 +02:00
Arne Döring
000b8afd26
Remove expr/stmt ( #5857 )
2017-07-25 09:28:23 +02:00
Zahary Karadjov
672c24e4b8
fix affecting templates with explicit generic params
2017-05-13 20:48:44 +03:00
Zahary Karadjov
f7b10e213b
support post expression blocks in return and yield
2017-04-10 17:26:50 +03:00
Andreas Rumpf
ca673ab1af
add test case for getAst regression
2017-03-20 10:56:15 +01:00
Andreas Rumpf
a6b0af539b
revert getAst handling to not use overloading resolution
2017-03-20 10:56:15 +01:00