closes #3744
This commit is contained in:
parent
aa7ad88978
commit
2ccc9db59d
1 changed files with 11 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ output: '''
|
||||||
123
|
123
|
||||||
Hallo Welt
|
Hallo Welt
|
||||||
Hallo Welt
|
Hallo Welt
|
||||||
|
1
|
||||||
'''
|
'''
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
@ -23,3 +24,13 @@ macro foobar(arg: untyped): untyped =
|
||||||
|
|
||||||
foobar:
|
foobar:
|
||||||
echo "Hallo Welt"
|
echo "Hallo Welt"
|
||||||
|
|
||||||
|
# bug #3744
|
||||||
|
import macros
|
||||||
|
macro t(): untyped =
|
||||||
|
return quote do:
|
||||||
|
proc tp(): int =
|
||||||
|
result = 1
|
||||||
|
t()
|
||||||
|
|
||||||
|
echo tp()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue