Merge pull request #99887 from JackErb/gdscript-parser-error-fix
Improve misleading `Unexpected "x" in class body.` GDScript parser error
This commit is contained in:
commit
79dd5179e3
5 changed files with 20 additions and 1 deletions
|
|
@ -0,0 +1,7 @@
|
|||
# GH-96792
|
||||
|
||||
var error
|
||||
error = true
|
||||
|
||||
func test():
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_PARSER_ERROR
|
||||
Unexpected identifier "error" in class body.
|
||||
Loading…
Add table
Add a link
Reference in a new issue