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:
commit
77666286b7
3 changed files with 9 additions and 1 deletions
|
|
@ -0,0 +1,6 @@
|
|||
func test():
|
||||
match null:
|
||||
null:
|
||||
print('null matched')
|
||||
_:
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_OK
|
||||
null matched
|
||||
Loading…
Add table
Add a link
Reference in a new issue