diff options
author | emre0altan <emrealtann77@gmail.com> | 2024-02-06 13:25:00 +0000 |
---|---|---|
committer | emre0altan <emrealtann77@gmail.com> | 2024-02-11 13:47:12 +0000 |
commit | 081fa324fd11e5602b748bf45717d32692a3e7dc (patch) | |
tree | fcfd7ab73699c00eb16aa67d24b833b5dbc3d96f /modules/gdscript/tests/scripts/runtime/features/match_test_null.gd | |
parent | d3352813ea44447bfbf135efdec23acc4d1d3f89 (diff) | |
download | redot-engine-081fa324fd11e5602b748bf45717d32692a3e7dc.tar.gz |
set has_type false if it is BUILTIN but Variant::NIL
Diffstat (limited to 'modules/gdscript/tests/scripts/runtime/features/match_test_null.gd')
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/match_test_null.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/features/match_test_null.gd b/modules/gdscript/tests/scripts/runtime/features/match_test_null.gd new file mode 100644 index 0000000000..9bb57b68ee --- /dev/null +++ b/modules/gdscript/tests/scripts/runtime/features/match_test_null.gd @@ -0,0 +1,6 @@ +func test(): + match null: + null: + print('null matched') + _: + pass |