Skip to content

Commit 0be70e7

Browse files
committed
Add minimized test
1 parent 0113990 commit 0be70e7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
trait Txn[T <: Txn[T]]
2+
3+
trait Elem[T <: Txn[T]]
4+
5+
trait Obj[T <: Txn[T]] extends Elem[T]
6+
7+
class Test {
8+
9+
def apply[Repr[~ <: Txn[~]] <: Elem[~], In <: Txn[In]](in: Repr[In]): Unit = {
10+
in match {
11+
case inObj: Obj[In] => // problem here
12+
case _ =>
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)