summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-params-badtype.check
blob: 71a65aec84ae67de2ee3cc9fb2a09372506c64b1 (plain) (blame)
1
2
3
4
5
6
7
Impls_Macros_1.scala:8: error: macro implementation has wrong shape:
 required: (c: scala.reflect.makro.Context)(x: c.Expr[Int]): c.Expr[Any]
 found   : (c: scala.reflect.makro.Context)(x: c.mirror.Tree): Nothing
type mismatch for parameter x: c.Expr[Int] does not conform to c.mirror.Tree
  def foo(x: Int) = macro Impls.foo
                                ^
one error found