require errormsg to be specified before file.
This commit is contained in:
parent
ca394ebd95
commit
1105d03644
264 changed files with 305 additions and 623 deletions
|
|
@ -1,5 +1,4 @@
|
|||
discard """
|
||||
file: "tmacrogenerics.nim"
|
||||
nimout: '''
|
||||
instantiation 1 with None and None
|
||||
instantiation 2 with None and None
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
discard """
|
||||
file: "tquotewords.nim"
|
||||
output: "thisanexample"
|
||||
"""
|
||||
# Test an idea I recently had:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
errormsg: "recursive dependency: 'dump'"
|
||||
file: "trecmacro.nim"
|
||||
line: 8
|
||||
errormsg: "recursive dependency: 'dump'"
|
||||
"""
|
||||
|
||||
macro dump(n: untyped): untyped =
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
discard """
|
||||
file: "tstringinterp.nim"
|
||||
output: "Hello Alice, 64 | Hello Bob, 10$"
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue