-
Notifications
You must be signed in to change notification settings - Fork 158
Closed
Labels
ags 4related to the ags4 developmentrelated to the ags4 developmentcontext: script compilertype: bugunexpected/erroneous behavior in the existing functionalityunexpected/erroneous behavior in the existing functionalitywhat: editorrelated to the game editorrelated to the game editor
Milestone
Description
Problem
New script compiler reports a line 1-2 numbers above the actual line when there's a function call of an undeclared function. I noticed that using undeclared variables in some expression does not cause the same problem, but I am not fully certain that this is not a accident.
How to reproduce
Go anywhere in script and type e.g.
CallWrongFunction();
then compile.
The compiler will report identifier 'CallWrongFunction' is undeclared, but the reported line is 1-2 numbers less than the actual line.
Metadata
Metadata
Assignees
Labels
ags 4related to the ags4 developmentrelated to the ags4 developmentcontext: script compilertype: bugunexpected/erroneous behavior in the existing functionalityunexpected/erroneous behavior in the existing functionalitywhat: editorrelated to the game editorrelated to the game editor