Merge pull request #71349 from vonagam/disallow-infer-on-weak

GDScript: Disallow type inference with untyped initializer
This commit is contained in:
Rémi Verschelde 2023-01-25 14:42:20 +01:00
commit 41e5f5b093
No known key found for this signature in database
GPG key ID: C3336907360768E1
9 changed files with 20 additions and 9 deletions

View file

@ -1,9 +1,4 @@
func test():
var one_0 = 0
one_0 = 1
var one_1 := one_0
print(one_1)
var two: Variant = 0
two += 2
print(two)