Better compiler errors for accessing undeclared fields, calling undeclared
procedures and procedure fields.
This commit is contained in:
Dominik Picheta 2015-06-04 13:55:48 +01:00
commit 22f6017ab8
7 changed files with 22 additions and 10 deletions

View file

@ -1,7 +1,7 @@
discard """
file: "twrongtupleaccess.nim"
line: 9
errormsg: "undeclared identifier: \'setBLAH\'"
errormsg: "attempting to call undeclared procedure field: \'setBLAH\'"
"""
# Bugfix