fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to call undeclared routine' error (#8786)
This commit is contained in:
parent
8232bd04f9
commit
eb946f37a7
10 changed files with 98 additions and 10 deletions
|
|
@ -1,10 +1,11 @@
|
|||
discard """
|
||||
nimout: '''
|
||||
found 'a' of kind 'var''''
|
||||
file: "tnoop.nim"
|
||||
line: 11
|
||||
errormsg: "attempting to call undeclared routine: 'a'"
|
||||
line: 12
|
||||
errormsg: "attempting to call routine: 'a'"
|
||||
"""
|
||||
|
||||
|
||||
var
|
||||
a: int
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue