summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-implicit-params.check
blob: 62156770e4cf8150ef955be16119d3a254c7afef (plain) (blame)
1
2
3
4
5
6
7
Impls_Macros_1.scala:18: error: macro implementation has wrong shape:
 required: (c: scala.reflect.macros.Context)(x: c.Expr[Int]): c.Expr[Unit]
 found   : (c: scala.reflect.macros.Context)(implicit x: c.Expr[Int]): c.Expr[Unit]
macro implementations cannot have implicit parameters other than AbsTypeTag evidences
  def foo_targs[U](x: Int) = macro Impls.foo_targs[T, U]
                                         ^
one error found