Files
Nim/tests/misc/tnoop.nim
Timothee Cour 0fb878324e honor --declaredLocs in more places, including type mismatch errors; also show kind with --declaredLocs (#15673)
* honor --declaredLocs in more places, including type mismatch errors
* fix tests
* show declaration location also when type mismatch names clash
2020-10-27 14:19:28 +01:00

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()