Merge pull request #70733 from vonagam/fix-assigning-untyped

GDScript: Fix some issues with assignments that involve untyped things
This commit is contained in:
Rémi Verschelde
2023-01-12 20:08:55 +01:00
6 changed files with 144 additions and 81 deletions

View File

@@ -0,0 +1,3 @@
func test():
var foo: bool = true
foo += 'bar'

View File

@@ -0,0 +1,2 @@
GDTEST_ANALYZER_ERROR
Invalid operands "bool" and "String" for assignment operator.