summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-params-badtype.check
blob: 007620a366ceabe78e1d93fbd48e450a4a24193e (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.universe.Tree): Nothing
type mismatch for parameter x: c.Expr[Int] does not conform to c.universe.Tree
  def foo(x: Int) = macro Impls.foo
                                ^
one error found