Skip to content

Commit 5601079

Browse files
committed
Fix #1287: Add regression test
1 parent 6c33431 commit 5601079

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/pos/i1287/Foo.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
private object Foo {
2+
val x: Int = 1
3+
}

tests/pos/i1287/Test.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
object Test {
2+
val a = Foo.x
3+
}

0 commit comments

Comments
 (0)