summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-ctx-badtype.check
blob: 3913a8e3cb621b9dce75e6b0e61e5967006949d8 (plain) (blame)
1
2
3
4
5
6
7
Macros_Test_2.scala:2: error: macro implementation has wrong shape:
 required: (c: scala.reflect.makro.Context): c.Expr[Any]
 found   : (c: scala.reflect.api.Mirror): Nothing
type mismatch for parameter c: scala.reflect.makro.Context does not conform to scala.reflect.api.Mirror
  def foo = macro Impls.foo
                        ^
one error found