Skip to content

Commit 054d5c0

Browse files
committed
Remove now-fixed workaround Godot issues 66774
1 parent 3877c9f commit 054d5c0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/extension_api_parser/builtins.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ class BuiltinMethodArgumentSpec:
5555

5656
@classmethod
5757
def parse(cls, item: dict) -> "BuiltinMethodArgumentSpec":
58-
# TODO: Remove me once is fixed https://github.com/godotengine/godot/pull/66774
59-
if item["type"] == "Nil":
60-
item["type"] = "Variant"
6158
item.setdefault("original_name", item["name"])
6259
item.setdefault("default_value", None)
6360
assert_api_consistency(cls, item)
@@ -112,9 +109,6 @@ class BuiltinOperatorSpec:
112109
def parse(cls, item: dict, c_name_prefix: str) -> "BuiltinOperatorSpec":
113110
item.setdefault("original_name", item["name"])
114111
item.setdefault("right_type", None)
115-
# TODO: Remove me once is fixed https://github.com/godotengine/godot/pull/66774
116-
if item["right_type"] == "Nil":
117-
item["right_type"] == "Variant"
118112
item["name"], item["variant_operator_name"] = VARIANT_OPERATORS[item.pop("name")]
119113
item["c_name"] = f"{c_name_prefix}_op_{item['name']}"
120114
if item["right_type"] is not None:

0 commit comments

Comments
 (0)