-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Unexpose broken Array.set_typed
#69441
Conversation
Mickeon
commented
Dec 1, 2022
- This method just does not work, look above.
- If it were to work, it would only work if the array is empty, is only referenced once, and is not already typed (which cannot be undone).
- At that point, you may as well either use the Typed Array constructor, or GDScript's static typing syntax.
This seems to be needed for GDExtension to implemented typed arrays:
|
CC @vonagam @jordigcs - this is core but closely related to your work on typed arrays. |
If it is required for GDExtension to work then what is the question? |
I don't know if it is, waiting for @bruvzg's input on this. There's no question, it's just an area adjacent to what you're working on on which you may have an opinion. E.g. on whether it is indeed "broken" or whether it can, has or should be fixed. |
It's not broken, but it is only supposed to be called from the constructor, so it's probably should move to the |
Superseded by #71989. |