Skip to content

Commit 4a17b66

Browse files
committed
Improve test
1 parent b586d9b commit 4a17b66

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i6159.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@ object O {
1111
}
1212
def t(a: T[B]): T[B] = a
1313
def u(a: T.U[B]): T.U[B] = a
14+
}
15+
object O2 {
16+
opaque type T[X] = X
17+
18+
def m(a: T[Int]) = 1
19+
def m(a: T[String]) = 2
1420
}

0 commit comments

Comments
 (0)