require errormsg to be specified before file.

This commit is contained in:
Arne Döring 2018-11-29 16:07:51 +01:00 • committed by Araq
commit 1105d03644
264 changed files with 305 additions and 623 deletions

View file

@ -1,5 +1,4 @@
discard """
file: "tmacrogenerics.nim"
nimout: '''
instantiation 1 with None and None
instantiation 2 with None and None

View file

@ -1,5 +1,4 @@
discard """
file: "tquotewords.nim"
output: "thisanexample"
"""
# Test an idea I recently had:

View file

@ -1,7 +1,7 @@
discard """
errormsg: "recursive dependency: 'dump'"
file: "trecmacro.nim"
line: 8
errormsg: "recursive dependency: 'dump'"
"""
macro dump(n: untyped): untyped =

View file

@ -1,5 +1,4 @@
discard """
file: "tstringinterp.nim"
output: "Hello Alice, 64 | Hello Bob, 10$"
"""