You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Merge pull request #62701 from cdemirer/for-variable-conflict
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
func test():
|
||||
var TEST = 1
|
||||
for TEST in 2:
|
||||
pass
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
There is already a variable named "TEST" declared in this scope.
|
||||
@@ -0,0 +1,3 @@
|
||||
func test():
|
||||
var TEST = 1
|
||||
var TEST = 2
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
There is already a variable named "TEST" declared in this scope.
|
||||
Reference in New Issue
Block a user