Feedback
Array variables can use As New Array(Of T)
- Status
- Fixed
- Fixed in
- v26.7.2
- Source discussion
- https://forum.objo.dev/d/559-array-variable-declaration-isnt-parsing-a-syntax-that-should-work
- Last updated
- 2026-07-12
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Declaring an array variable with As New Array(Of T) reports that the array type annotation is missing an element type, even though the generic element type is present. The same generic constructor syntax works when the variable type is written separately, so As New Array(Of T) should compile consistently.