Soundness bug in structural types #17581
Labels
itype:bug
itype:soundness
Soundness bug (it lets us compile code that crashes at runtime with a ClassCastException)
Milestone
Compiler version
3.2.2, 3.3.0
Minimized code
Output
Code compiles and fails at runtime with:
Expectation
Shouldn't compile
More information
The following variants don't compile (as expected):
Result:
Result:
The text was updated successfully, but these errors were encountered: