Feedback
Compiler allows typed arrays to append wrong element types
- Status
- Fixed
- Fixed in
- v26.5.6
- Last updated
- 2026-05-24
Public summary
Array(Of T) values could accept incompatible values through Append, so code such as Var points() As Double followed by points.Append([100, 100]) compiled even though the appended value was another array, not a Double. The compiler now checks selected typed-array method parameters against the array element type and reports a compile-time type mismatch.