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