Feedback
Generic methods check constructed member values against their type arguments
- Status
- Fixed
- Fixed in
- v26.10.3
- Area
- compiler
- Source discussion
- -
- Last updated
- 2026-10-20
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
A generic method can read an incompatible value from a constructed generic object after another reference changes that object through its raw generic type. The read should raise a type mismatch at the generic member boundary, including when its expected type is a method type parameter.