summaryrefslogblamecommitdiff
path: root/test/files/neg/macro-invalidsig-ctx-badvarargs.check
blob: 37941a7dc95c3081c62ea2f1672916d79f0ff0b7 (plain) (tree)
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