Skip to content

Commit 5a05387

Browse files
oderskyWojciechMazur
authored andcommitted
Regression test for 21360
[Cherry-picked 0047389]
1 parent 0484e65 commit 5a05387

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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)