Skip to content

Commit 2f264d4

Browse files
committed
Remove now-fixed workaround Godot issues 64442
1 parent 054d5c0 commit 2f264d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/extension_api_parser/builtins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class BuiltinMethodSpec:
185185

186186
@property
187187
def contains_unsuported_types(self) -> bool:
188-
# TODO: support Varaint & Object !
188+
# TODO: support Variant & Object !
189189
def _unsuported_type(t):
190190
return t.is_variant or t.is_object
191191

scripts/extension_api_parser/in_use.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,5 @@ def _is_number(val, expected_type):
172172
# TODO: useful ? I'm not even sure GDScript handles this correctly...
173173
@property
174174
def reusable(self) -> bool:
175-
# TODO: see https://github.com/godotengine/godot/issues/64442
176-
return self.type.type_name not in ("RID", "Callable", "Signal")
175+
# This is for RID, Callable and Signal (e.g. `RID()`)
176+
self.type.type_name.endswith("()")

0 commit comments

Comments
 (0)