Skip to content

Commit 5c5ec48

Browse files
committed
Restored accidentally deleted test code.
1 parent 3c43871 commit 5c5ec48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/subtyping.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
class A {
2+
def test1(): Unit = {
3+
implicitly[this.type <:< this.type]
4+
implicitly[this.type <:< A]
5+
}
6+
}
17
object test {
28

39
class B

0 commit comments

Comments
 (0)