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,7 +1,7 @@
discard """
errormsg: "type mismatch: got <TKind>"
file: "tadrdisc.nim"
line: 20
errormsg: "type mismatch: got <TKind>"
"""
# Test that the address of a dicriminants cannot be taken

View file

@ -1,6 +1,6 @@
discard """
line: 11
errormsg: "identifier expected, but got 'keyword of'"
line: 11
"""
type
@ -10,5 +10,3 @@ type
of enA:
of enU: x, y: int
of enO: a, b: string

View file

@ -1,6 +1,5 @@
discard """
file: "tvariantstack.nim"
output: "came here"
output: "came here"
"""
#BUG
type