diff options
author | Arne Döring <arne.doering@gmx.net> | 2019-06-05 09:17:04 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-06-05 09:17:04 +0200 |
commit | cb45527e37fa7990ab6ccc38d5594ef9b6ab5c10 (patch) | |
tree | ede7e1e3b04e4d0fde9c23dbec2828bce86abda0 /tests | |
parent | 71388caf2e6011690e0ba51a93bdec1419b5af14 (diff) | |
download | Nim-cb45527e37fa7990ab6ccc38d5594ef9b6ab5c10.tar.gz |
pass typedesc as NimNode to macros (#11400)
* change typedesc's design in macros * Manual and changelog entry. * add link to RFC
Diffstat (limited to 'tests')
-rw-r--r-- | tests/metatype/ttypeselectors.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/metatype/ttypeselectors.nim b/tests/metatype/ttypeselectors.nim index eb857271d..52e5415be 100644 --- a/tests/metatype/ttypeselectors.nim +++ b/tests/metatype/ttypeselectors.nim @@ -14,7 +14,7 @@ template selectType(x: int): type = template simpleTypeTempl: type = string -macro typeFromMacro: type = string +macro typeFromMacro: type = bindSym"string" # The tests below check that the result variable of the # selected type matches the literal types in the code: |