Skip to content

Commit 0047389

Browse files
committed
Regression test for 21360
1 parent e5be3a1 commit 0047389

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: tests/pos/i21360.scala

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
case class Table(owner: Owner.Id)
2+
3+
case class Owner(owner: Owner.Id) // type Id is not a member of object Playground.Owner
4+
5+
trait Typed[Tag] {
6+
type Id = String
7+
}
8+
9+
object Owner extends Typed[Owner] {
10+
//type Id = String
11+
}

0 commit comments

Comments
 (0)