Fixes #2584
Better compiler errors for accessing undeclared fields, calling undeclared procedures and procedure fields.
This commit is contained in:
parent
ccb9ae2d52
commit
22f6017ab8
7 changed files with 22 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
line: 7
|
||||
errormsg: "undeclared identifier: 'items'"
|
||||
errormsg: "attempting to call undeclared procedure: 'items'"
|
||||
"""
|
||||
|
||||
type a = enum b,c,d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue