Merge pull request #70440 from rune-scape/null-again

Fix GDScript analyzer null literal
This commit is contained in:
Rémi Verschelde 2022-12-22 16:02:19 +01:00
commit e1657bd2a7
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 20 additions and 11 deletions

View file

@ -0,0 +1,9 @@
# https://github.com/godotengine/godot/issues/61159
func get_param():
return null
func test():
var v = get_param()
v = get_param()
print(v)

View file

@ -0,0 +1,2 @@
GDTEST_OK
<null>