summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-params-badtype.check
blob: e4f67e650a4f1740ad06f68abc51c9e37558eaf8 (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.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