Skip to content

Commit c4a14a3

Browse files
Merge pull request #9537 from dotty-staging/fix-7920
Fix #7920: add test
2 parents 550e969 + b128faf commit c4a14a3

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)