File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
scripts/extension_api_parser Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ class BuiltinMethodSpec:
185
185
186
186
@property
187
187
def contains_unsuported_types (self ) -> bool :
188
- # TODO: support Varaint & Object !
188
+ # TODO: support Variant & Object !
189
189
def _unsuported_type (t ):
190
190
return t .is_variant or t .is_object
191
191
Original file line number Diff line number Diff line change @@ -172,5 +172,5 @@ def _is_number(val, expected_type):
172
172
# TODO: useful ? I'm not even sure GDScript handles this correctly...
173
173
@property
174
174
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 ( "() " )
You can’t perform that action at this time.
0 commit comments