Merge pull request #70440 from rune-scape/null-again
Fix GDScript analyzer null literal
This commit is contained in:
commit
e1657bd2a7
3 changed files with 20 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_OK
|
||||
<null>
|
||||
Loading…
Add table
Add a link
Reference in a new issue