aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/typedapply.scala
blob: 8496d528bb676dab8ab904b4134abbd383a7d1ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
object typedapply {

  def foo[X, Y](x: X, y: Y) = (x, y)

  foo(1, "abc")

  foo[Int, String](1, "abc")

  foo[Int, String] _

}