summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-params-badvarargs.check
blob: 50607ff52df9bbc4a95b5e2ec81a188298737893 (plain) (blame)
1
2
3
4
5
6
7
Impls_Macros_1.scala:8: error: macro implementation has wrong shape:
 required: (c: scala.reflect.macros.Context)(x: c.Expr[Int], y: c.Expr[Int]): c.Expr[Any]
 found   : (c: scala.reflect.macros.Context)(xs: c.Expr[Int]*): Nothing
parameter lists have different length, required extra parameter y: c.Expr[Int]
  def foo(x: Int, y: Int) = macro Impls.foo
                                        ^
one error found