Merge pull request #88020 from emre0altan/match-null-crashes-GDScript-compiler
GDScript: Set `has_type` false if it is `BUILTIN` but `Variant::NIL`
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
func test():
|
||||
match null:
|
||||
null:
|
||||
print('null matched')
|
||||
_:
|
||||
pass
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_OK
|
||||
null matched
|
||||
Reference in New Issue
Block a user