summaryrefslogblamecommitdiff
path: root/test/files/pos/depmet_1_pos.scala
blob: 166e9918175c76f1e0c3aeb92b79ef0c6c7dff61 (plain) (tree)
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)
}