summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-params-badvarargs.check
blob: f0dcc24d03449d7e86d9fcddab1355b8a18aa201 (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