diff options
author | George Marques <george@gmarqu.es> | 2023-02-24 10:03:12 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2023-02-24 10:03:12 -0300 |
commit | 6f2a8434c675b3df2aceca4e5200aaf799eeb2bd (patch) | |
tree | 93d3ddd631abdfa0d8c8aa3695204e253367fd32 /modules/gdscript/tests | |
parent | e0de3573f3fc86062763152f5a1ac62f5a986da3 (diff) |
GDScript: Fix groups and categories been seen as members
Diffstat (limited to 'modules/gdscript/tests')
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd | 9 | ||||
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd b/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd new file mode 100644 index 0000000000..d205da22c2 --- /dev/null +++ b/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd @@ -0,0 +1,9 @@ +# https://github.com/godotengine/godot/issues/73843 +extends RefCounted + +@export_group("Resource") +@export_category("RefCounted") + +func test(): + prints("Not shadowed", Resource.new()) + prints("Not shadowed", RefCounted.new()) diff --git a/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out b/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out new file mode 100644 index 0000000000..a1a2ff6cd9 --- /dev/null +++ b/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out @@ -0,0 +1,3 @@ +GDTEST_OK +Not shadowed <Resource#-9223371975785708326> +Not shadowed <RefCounted#-9223371975768931110> |