Closed
Description
Compiler version
3.0.0-RC3
Issue
Both TypeTest
s will may match the same tpd.Typed
tree
This makes the type hierarchy unsound.
UnapplyTypeTest.unapply
only matches tpd.Typed
for historical reasons. Back when trees were separated from patterns we needed to handle this specially.
Solution
UnapplyTypeTest.unapply
only match tpd.Unapply
Metadata
Metadata
Assignees
Labels
No labels