aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/typedapply.scala
blob: e28e59d4fa8327e0990b463b5987caf9162b546c (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] _

}