Skip to content

Commit 27f0fda

Browse files
committed
Add subclasses case to test
1 parent e5b9210 commit 27f0fda

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
class P() {
22
val a = 1
33
List(this)
4+
}
5+
6+
class Outer {
7+
class Inner {
8+
val b = a
9+
}
10+
val a = 5
11+
val b = new Inner()
12+
List(new Inner())
13+
List(b)
414
}

0 commit comments

Comments
 (0)