Danil Alexeev
Danil Alexeev
> This might be tricky because `Packed*Array` are just `typedef`s for `Vector`. Adding read-only functionality would affect all vectors used in core. Yes, I was worried about it, and that's...
I suggest deferring this to 4.2 or 4.x as 4.1 is in a feature freeze. Since this is more a lack of a new feature than a bug. Packed arrays...
May be related: * #81250 * #82141 * #godotengine/godot-proposals#7716
> ```gdscript > func test2() -> Array[int]: > var result: Array[int] = range(10).filter(func(n): return n % 2 == 0) # → [0, 2, 4, 6, 8] > return result >...
> `Array.filter` preserves the typing, it returns an array typed the same as the original array. Yes, you're right, that's a good clarification. **But the static type is not inferred**,...
1. I think the `@abstract` annotation should be possible to apply not only to the top-level script, but also to inner classes. Applying the annotation to a script should not...
@aaronfranke For me, this is more of a language feature, since it prohibits instantiation of the class, and not only makes the class unselectable in the editor dialog. Especially if...
At today's GDScript team meeting, we reached a consensus that `abstract` should be a keyword instead of an annotation. @aaronfranke Please let us know if you would like to continue...
I think the reason is the same as #76841: binary serialization does not currently support typed arrays, so type information is lost in multiplayer. Text serialization: https://github.com/godotengine/godot/blob/eb86dabee07e8dfce3b06cbd557b50b74afd3d6c/core/variant/variant_parser.cpp#L1927-L1958 Binary serialization: https://github.com/godotengine/godot/blob/eb86dabee07e8dfce3b06cbd557b50b74afd3d6c/core/io/marshalls.cpp#L1590-L1609
This PR does not take into account changes from #71634. I've added fixes to this in #72276.