Skip to content

Commit 07f7b1f

Browse files
committed
Add pos test
1 parent c18da4d commit 07f7b1f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/pos/i2324.scala

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
object A {
2+
def foo: Int = 1
3+
}
4+
object B {
5+
def foo: Int = 2
6+
}
7+
class C {
8+
import A._
9+
import B._
10+
11+
def bar: Int = 4
12+
13+
def foo: Int = 3
14+
15+
println(foo)
16+
}

0 commit comments

Comments
 (0)