mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #70733 from vonagam/fix-assigning-untyped
GDScript: Fix some issues with assignments that involve untyped things
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
func test():
|
||||
var foo: bool = true
|
||||
foo += 'bar'
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_ANALYZER_ERROR
|
||||
Invalid operands "bool" and "String" for assignment operator.
|
||||
Reference in New Issue
Block a user