summary refs log tree commit diff stats
path: root/tests/template/template_various.nim
Commit message (Collapse)AuthorAgeFilesLines
* test case haul for old generic/template/macro issues (#22564)metagn2023-08-271-0/+36
| | | | | | | | | | | | * test case haul for old generic/template/macro issues closes #12582, closes #19552, closes #2465, closes #4596, closes #15246, closes #12683, closes #7889, closes #4547, closes #12415, closes #2002, closes #1771, closes #5121 The test for #5648 is also moved into its own test from `types/tissues_types` due to not being joinable. * fix template gensym test
* [backport] Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent ↵SirOlaf2022-10-181-0/+15
| | | | | | | | | | | | (#20578) * Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent * Add test * Update compiler/lookups.nim Co-authored-by: SirOlaf <a> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* new .redefine pragma for templates, warn on redefinition without it (#20211)metagn2022-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test CI for template redefinitions * adapt asyncmacro * fix quote * fix again * try something else * revert * fix ioselectors_select, disable packages CI * adapt more tests & simplify * more * more * more * rename to redefine, warn on implicit redefinition * basic documentation [skip ci] * Update compiler/lineinfos.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* improve several tests in testament (#18635)Timothee Cour2021-08-081-2/+4
| | | | | | | | | | | * 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
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-171-1/+1
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* fix codegen bug due to changing existing symbol declaration in template (#14666)jcosborn2020-06-151-0/+106
|
* closes #7117Andreas Rumpf2019-08-221-2/+16
|
* Remove immediate pragma (#11308)Arne Döring2019-05-291-16/+0
| | | | | * remove immediate from tests * remove immediate from the compiler
* Allow void macro result (#11286)Arne Döring2019-05-211-7/+5
| | | | | * allow void macro result * add test for void macro result type
* fix #9647 tmpl=>nimf (#9658)Timothee Cour2018-11-141-1/+1
|
* Merge tests into a larger file (part 8 of ∞) (#9583)Miran2018-11-061-0/+251
* merge tuple tests * merge trmacros tests * merge template tests