GDScript: Properly catch error when missing index in subscript
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
func test():
|
||||
var array = [1, 2, 3]
|
||||
array[] = 4
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Expected expression after "[".
|
||||
Reference in New Issue
Block a user