This commit is contained in:
Andreas Rumpf 2019-05-13 17:25:57 +02:00
commit 69658ad396
2 changed files with 12 additions and 3 deletions

View file

@ -26,6 +26,7 @@ range[0 .. 100]
array[0 .. 100, int]
10
test
0o377'i8
'''
"""
@ -236,3 +237,10 @@ block tbugs:
sampleMacroInt(42)
sampleMacroBool(false)
sampleMacroBool(system.true)
# bug #11131
macro toRendererBug(n): untyped =
result = newLit repr(n)
echo toRendererBug(0o377'i8)