summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-params-badargc.check
blob: 3f6d815b8e2519f780357dcc87cad941f8900910 (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]): c.Expr[Any]
 found   : (c: scala.reflect.macros.Context)(x: c.Expr[Int], y: c.Expr[Int]): Nothing
parameter lists have different length, found extra parameter y: c.Expr[Int]
  def foo(x: Int) = macro Impls.foo
                                ^
one error found