summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-ctx-badvarargs.check
blob: a6478f03e3f21572b57f014f741b1011c03667f9 (plain) (blame)
1
2
3
4
5
6
7
Macros_Test_2.scala:2: error: macro implementation has wrong shape:
 required: (c: scala.reflect.macros.Context): c.Expr[Any]
 found   : (cs: scala.reflect.macros.Context*): Nothing
types incompatible for parameter cs: corresponding is not a vararg parameter
  def foo = macro Impls.foo
                        ^
one error found