Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed May 5, 2023
1 parent ded5d25 commit 90f4253
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/pos/i17381.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import reflect.Selectable.reflectiveSelectable

type Y = { type T = String; def u(): T }

trait Test {

val y1: Y
val y2 = y1.u()
}

0 comments on commit 90f4253

Please sign in to comment.