Nim/tests/template
metagn 2cca38d33c
pragma for sfCallsite instead of name check + better semantics, test (#20464)
* pragma for sfCallsite instead of name check at every template definition

Not documented because it seems to be for internal use?

Should also make it possible to make comparisons and setops imports, but this doesn't have to be done.

I can reuse a name like `cursor` for the pragma as well, added a new name just to be safe.

* make sfCallsite recursive, add tests
2022-10-03 06:07:55 +02:00
..
annotate.nim Testament: refactoring; makes the test joiner green 2018-12-11 21:23:23 +01:00
i2416.nim test case for #2416 (#7649) 2018-04-18 21:19:23 +02:00
mcan_access_hidden_field.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
mgensym_generic_cross_module.nim make more tests green 2018-08-13 13:02:52 +02:00
mlt.nim fixes #4564 2016-08-04 01:37:41 +02:00
mtempl5.nim fixes yet another gensym regression (#12145) 2019-09-06 00:45:00 +02:00
otests.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
sunset.nimf style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
t6217.nim fix term rewriting with sideeffect (#19410) 2022-01-19 12:37:30 +01:00
t9534.nim close #9534 add testcase (#17607) 2021-04-01 08:47:59 +02:00
t13515.nim fix #13515 [backport] (#20315) 2022-09-11 08:33:24 +02:00
t17433.nim semTemplateDef and t17433 clean-ups (#17448) 2021-03-22 12:46:34 +01:00
t18113.nim fix #18113 (#18124) 2021-05-31 13:27:44 +02:00
t_otemplates.nim Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
tcallsitelineinfo.nim pragma for sfCallsite instead of name check + better semantics, test (#20464) 2022-10-03 06:07:55 +02:00
tcallsitelineinfo2.nim pragma for sfCallsite instead of name check + better semantics, test (#20464) 2022-10-03 06:07:55 +02:00
tconfusinglocal.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tdefined_overload.nim add test case for fix to #7997 2018-06-10 18:01:15 +02:00
template_issues.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
template_pragmas.nim exportC => exportc (#18625) 2021-07-31 23:54:08 -07:00
template_various.nim new .redefine pragma for templates, warn on redefinition without it (#20211) 2022-08-23 21:41:30 +02:00
texponential_eval.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tgensym_instantiationinfo.nim typetraits.$: $((int, float), int) is now "((int, float), int)" instead of "(tuple of (int, float), int)" (#14812) 2020-07-02 16:19:43 +02:00
tgensymregression.nim make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec (#16151) 2020-11-28 09:09:31 +01:00
thygienictempl.nim lots of small changes 2018-12-11 21:23:22 +01:00
tinnerouterproc.nim fix #20002 (#20004) 2022-07-15 12:37:08 +02:00
tmethodcall.nim add tests for recently closed issues (#10722) 2019-02-23 10:41:35 +01:00
tmixin_in_proc.nim fixes #5478 2017-03-06 18:38:15 +01:00
tmodulealias.nim use lowercase --define switches (#17283) 2021-03-07 12:08:41 +01:00
tmore_regressions.nim new gensym handling (#11985) 2019-08-23 16:15:02 +02:00
tparams_gensymed.nim improve several tests in testament (#18635) 2021-08-08 19:28:49 +02:00
tparamscope.nim Fix #5691 (#15158) 2020-08-27 15:50:59 +02:00
tredefinition.nim new gensym handling (#11985) 2019-08-23 16:15:02 +02:00
tredefinition_override.nim new .redefine pragma for templates, warn on redefinition without it (#20211) 2022-08-23 21:41:30 +02:00
tscope.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
tshadow.nim closes #7374 (#15781) 2020-10-30 09:59:56 +01:00
tsighash_regression.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tstempl.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
ttempl2.nim Remove immediate pragma (#11308) 2019-05-29 22:21:51 +02:00
ttempl3.nim improved the error message for #11494; closes #11494 2019-07-06 23:59:23 +02:00
twhenintemplates.nim closes #3670 [add testcase for #3670] (#15808) 2020-11-01 19:53:00 +01:00
twrong_getast.nim revert getAst handling to not use overloading resolution 2017-03-20 10:56:15 +01:00
twrongmapit.nim defaults to ORC (#19972) 2022-09-23 13:05:05 +02:00
twrongopensymchoice.nim lots of small changes 2018-12-11 21:23:22 +01:00
twrongsymkind.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
utemplates.nim new .redefine pragma for templates, warn on redefinition without it (#20211) 2022-08-23 21:41:30 +02:00