Unsound reduction of match types with refined trait member as scrutinee #20515
Labels
area:match-types
itype:bug
itype:soundness
Soundness bug (it lets us compile code that crashes at runtime with a ClassCastException)
Compiler version
3.5.0-RC1
Minimized code
This is another instance of #19746 except the prefix is a trait value instead of a function parameter.
The text was updated successfully, but these errors were encountered: