summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-tparams-badtype.check
blob: e5e8366ba4d1ed986ad2bbeb4616cc5a404f8c0f (plain) (blame)
1
2
3
4
5
6
7
Macros_Test_2.scala:2: error: macro implementation has wrong shape:
 required: (c: scala.reflect.macros.Context): c.Expr[Any]
 found   : (c: scala.reflect.macros.Context)(U: c.universe.Type): Nothing
number of parameter sections differ
  def foo[U] = macro Impls.foo[U]
                              ^
one error found