diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-09-06 00:45:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-06 00:45:00 +0200 |
commit | 488f3ed0852d877203b671887e291248bbbd0750 (patch) | |
tree | 8260ba1c31c4baedb124d6fa7c8ec3128d56fd8f /tests/gensym | |
parent | 0882a09986b0e7d2be70cc034df80d8c322cdf75 (diff) | |
download | Nim-488f3ed0852d877203b671887e291248bbbd0750.tar.gz |
fixes yet another gensym regression (#12145)
Diffstat (limited to 'tests/gensym')
-rw-r--r-- | tests/gensym/tgensymgeneric.nim | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/gensym/tgensymgeneric.nim b/tests/gensym/tgensymgeneric.nim index 9963ba808..c17a0715f 100644 --- a/tests/gensym/tgensymgeneric.nim +++ b/tests/gensym/tgensymgeneric.nim @@ -40,15 +40,15 @@ doAssert y.x == "abc" import macros static: - let sym1 = genSym() - let sym2 = genSym() - let sym3 = sym1 + let sym1 = genSym() + let sym2 = genSym() + let sym3 = sym1 let nimsym = sym1.symbol - doAssert sym1 == sym1 - doAssert sym2 != sym3 + doAssert sym1 == sym1 + doAssert sym2 != sym3 doAssert sym2.symbol != sym3.symbol - doAssert sym3 == sym1 + doAssert sym3 == sym1 doAssert sym1.symbol == sym1.symbol - doAssert nimsym == nimsym + doAssert nimsym == nimsym echo "true" |