mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
* honor --declaredLocs in more places, including type mismatch errors * fix tests * show declaration location also when type mismatch names clash
14 lines
179 B
Nim
14 lines
179 B
Nim
discard """
|
|
nimout: '''
|
|
found 'a' [var declared in tnoop.nim(11, 3)]
|
|
'''
|
|
file: "tnoop.nim"
|
|
line: 13
|
|
errormsg: "attempting to call routine: 'a'"
|
|
"""
|
|
|
|
var
|
|
a: int
|
|
|
|
a()
|