Skip to content

Commit b128faf

Browse files
committed
Fix scala#7920: add test
1 parent 56c8e7b commit b128faf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i7920.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class Bar {val glass : Int = 0}
2+
class Foo(val bar : Bar) extends scala.reflect.Selectable
3+
val f = new Foo(new Bar) {
4+
export bar._
5+
}
6+
val fGlass = f.glass

0 commit comments

Comments
 (0)