Feedback
Generic class members now preserve their concrete type arguments
- Status
- Fixed
- Fixed in
- v26.7.5
- Source discussion
- https://forum.objo.dev/d/687-generic-return-value-question
- Last updated
- 2026-07-25
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Members declared with a generic class type parameter now use the concrete type supplied by the caller. For example, Stack(Of Integer).Pop() is treated as returning Integer, and passing the wrong value type to Push(item As T) is rejected at compile time.