This commit is contained in:
Araq
2019-01-13 16:05:42 +01:00
parent aa7ad88978
commit 2ccc9db59d

View File

@@ -3,6 +3,7 @@ output: '''
123
Hallo Welt
Hallo Welt
1
'''
"""
@@ -23,3 +24,13 @@ macro foobar(arg: untyped): untyped =
foobar:
echo "Hallo Welt"
# bug #3744
import macros
macro t(): untyped =
return quote do:
proc tp(): int =
result = 1
t()
echo tp()