-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Godot v4 beta17 - Concatenating typed arrays changes the type #72590
Comments
Guessing it's related to: #69248 |
I also get errors from using For instance, the following fails:
I understand this is not what you use a .map for, it's just an example. The point is I shouldn't get a Syntax error from this. One would assume that I guess a way to type the result could be:
|
See #72566. |
Ah excellent, thank you for sharing. |
Godot version
v4.0.beta17.official [c400205]
System information
Apple M1 Max - macOS Ventura 13.1 (22C65)
Issue description
I am getting an error due to functions no longer returning the correct typed array, when the function concatenates arrays and returns it.
In other words, the following fails:
I'm assuming when concatenating, the typing changes to a generic
Array
now? Just a guess.Steps to reproduce
N/A
Minimal reproduction project
Godot Crash Project.zip
The text was updated successfully, but these errors were encountered: