Skip to content

Commit

Permalink
Regression test for 21360
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Sep 14, 2024
1 parent e5be3a1 commit 0047389
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/pos/i21360.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
case class Table(owner: Owner.Id)

case class Owner(owner: Owner.Id) // type Id is not a member of object Playground.Owner

trait Typed[Tag] {
type Id = String
}

object Owner extends Typed[Owner] {
//type Id = String
}

0 comments on commit 0047389

Please sign in to comment.