summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2019-06-05 09:17:04 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-06-05 09:17:04 +0200
commitcb45527e37fa7990ab6ccc38d5594ef9b6ab5c10 (patch)
treeede7e1e3b04e4d0fde9c23dbec2828bce86abda0 /tests
parent71388caf2e6011690e0ba51a93bdec1419b5af14 (diff)
downloadNim-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.nim2
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: