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
This commit is contained in:
parent
81e7811e01
commit
2cca38d33c
13 changed files with 73 additions and 25 deletions
|
|
@ -143,4 +143,5 @@ proc initDefines*(symbols: StringTableRef) =
|
|||
defineSymbol("nimHasTopDownInference")
|
||||
defineSymbol("nimHasTemplateRedefinitionPragma")
|
||||
defineSymbol("nimHasCstringCase")
|
||||
defineSymbol("nimHasCallsitePragma")
|
||||
defineSymbol("nimHasAmbiguousEnumHint")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue