You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if that's fixable given that TypedArrays are still normal Variant arrays internally. Maybe with more specific handling for their hint in GDScript.
Treat arrays as objects of classes. Array[int] and Array[float] should then be objects of two different autogenerated classes (say e.g. _GD_TypedArray_1 and _GD_TypedArray_2).
Change Variant::Type from enum to a class. Then we can keep member variables to keep track of other details like type of elements of array. We can also use operator overloading to enable something like arr1.type == arr2.type.
Godot version
ea4b8de
System information
Windows 10 x64
Issue description
I'd expect the
front()
to correctly returnint
.Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: