1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

makerst: Disable making refs for operator methods

As this requires more work to ensure that the refs are valid and unique.
This commit is contained in:
Rémi Verschelde
2021-10-05 16:26:28 +02:00
parent 1e36f5f524
commit 20b56f557c

View File

@@ -1053,6 +1053,11 @@ def make_method_signature(
ret_type = method_def.return_type.to_rst(state) ret_type = method_def.return_type.to_rst(state)
ref_type = "method" ref_type = "method"
# FIXME: Need to add proper support for operator methods, but generating a unique
# and valid ref for them is not trivial.
if method_def.name.startswith("operator "):
make_ref = False
out = "" out = ""
if make_ref: if make_ref: