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,7 +1,7 @@
|
|||
discard """
|
||||
errormsg: "ambiguous identifier"
|
||||
file: "tambsym.nim"
|
||||
line: 11
|
||||
errormsg: "ambiguous identifier"
|
||||
"""
|
||||
# Test ambiguous symbols
|
||||
|
||||
|
|
@ -11,5 +11,3 @@ var
|
|||
v: TExport #ERROR_MSG ambiguous identifier
|
||||
|
||||
v = y
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
discard """
|
||||
file: "tambsym2.nim"
|
||||
output: "7"
|
||||
"""
|
||||
# Test overloading of procs with locals
|
||||
|
|
@ -20,5 +19,3 @@ m.len = 7
|
|||
m.data = "1234"
|
||||
|
||||
x(m, 5) #OUT 7
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
errormsg: "ambiguous identifier"
|
||||
file: "tambsym3.nim"
|
||||
line: 11
|
||||
errormsg: "ambiguous identifier"
|
||||
"""
|
||||
# Test ambiguous symbols
|
||||
|
||||
|
|
@ -11,5 +11,3 @@ var
|
|||
v = mDec #ERROR_MSG ambiguous identifier
|
||||
|
||||
writeLine(stdout, ord(v))
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
discard """
|
||||
file: "tambsys.nim"
|
||||
output: ""
|
||||
"""
|
||||
# Test ambiguous symbols
|
||||
|
|
@ -9,5 +8,3 @@ import mambsys1, mambsys2
|
|||
var
|
||||
v: mambsys1.TExport
|
||||
mambsys2.foo(3) #OUT
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue