forked from godotengine/godot
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GDScript: Fix groups and categories been seen as members
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()) |
3 changes: 3 additions & 0 deletions
3
modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GDTEST_OK | ||
Not shadowed <Resource#-9223371975785708326> | ||
Not shadowed <RefCounted#-9223371975768931110> |