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
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>