aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/depmet_1_pos.scala
blob: 2b4f443e6c9a1fd540f5d5ba32ee5d35c922d74f (plain) (blame)
1
2
3
4
5
6
object Test {
  def precise(x: String)(y: x.type): x.type = y
  val foo = "foo"
  val fun : foo.type => foo.type = precise(foo)
  val bar : foo.type = precise(foo)(foo)
}