Skip to content

Commit aec9a79

Browse files
authored
Regression test for 21360 (#21591)
Closes #21360 @dwijnand This might have been fixed by your recently merged changes to constructor completion.
2 parents e1a4941 + 0047389 commit aec9a79

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)