-
-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variant
Parameter and Return Type Shows Up as (no base)
#159
Comments
does the class you're defining method on have a |
Yes the class have |
I wonder if this has been introduced with #147. @Dheatly23 could you check if this also occurs with a revision before that was merged? [dependencies]
godot = { git = "https://github.com/godot-rust/gdextension", rev = "7d42ebb425ada12459ca810e39f4277d6ddefd32" } |
This issue has been present since at least #133 with godot rc5, that's where I first encountered it. |
I just checked |
I have method with complex multiple dispatch of arguments and maybe empty return value. Since
Option<T>
is not supported as parameters nor return value, i useVariant
as workaround.Example:
But when i call it in GDScript, it errors with:
When i checked into it's documentation i saw this in methods section:
Is this normal? I can't call it since it returns "void" even though it's not.
The text was updated successfully, but these errors were encountered: