summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-context-bounds.check
blob: 43b8c23b358fccb8f3157674862f8b8d0fba2a1c (plain) (blame)
1
2
3
4
5
6
7
Macros_Test_1.scala:2: error: macro implementation has wrong shape:
 required: (c: scala.reflect.macros.Context): c.Expr[Any]
 found   : (c: scala.reflect.macros.Context)(implicit evidence$2: Numeric[U]): c.universe.Literal
macro implementations cannot have implicit parameters other than WeakTypeTag evidences
  def foo[U] = macro Impls.foo[U]
                           ^
one error found