-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Array<T> is exported wrongly as Array, instead of Array[T] #324
Comments
are you sure it's actually exported wrongly and it's not just the documentation that's wrong? |
Depends on the meaning of the "export" I guess? It works as it should but no type inference, so I suppose only the type information is wrong. "exported wrongly" might be misnomer in that case |
We can fix this by making the But im not sure if this is intended? |
Hmm, weird why gdscript does that. For example, built-in methods like get_children show the correct signature, Array[Node]. I think it would be better if the type hint also reflects the actual type. I don't know if that's intended or not. I have no serious experience with either gdext or godot. I can only talk about DX in this case 😅 |
godotengine/godot#79247 seems it's upstream? |
should be fixed by godotengine/godot#80745, haven't confirmed yet |
Even though Godot addressed it upstream, there was another bug on our side, which I now fixed as well 🙂 |
Rust:
Godot:
The text was updated successfully, but these errors were encountered: