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:
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
Original file line number Diff line number Diff 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 ( "() " )
You canβt perform that action at this time.
0 commit comments