GDScript: Fix some issues with assignments that involve untyped things

This commit is contained in:
Dmitrii Maganov
2022-12-30 09:58:07 +02:00
parent e80cf3259e
commit 38c214d483
6 changed files with 144 additions and 81 deletions
@@ -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.