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
This commit is contained in:
parent
218acfe367
commit
0fb878324e
7 changed files with 40 additions and 24 deletions
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
nimout: '''
|
||||
found 'a' of kind 'var'
|
||||
found 'a' [var declared in tnoop.nim(11, 3)]
|
||||
'''
|
||||
file: "tnoop.nim"
|
||||
line: 13
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue