Skip to content

Commit b6ed673

Browse files
dwijnandtgodzik
authored andcommitted
Add type avoidance to inferred MT bound lubbing
1 parent b6ef47d commit b6ed673

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/pos/i21256.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
object Test {
2+
type MTWithBind[X] = X match {
3+
case List[t] => t
4+
}
5+
}

0 commit comments

Comments
 (0)