summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidret-nonuniversetree.check
blob: 089bfd0dc99e0e78f9f6fdbe884dd7f41f99d37d (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): reflect.runtime.universe.Literal
type mismatch for return type: reflect.runtime.universe.Literal does not conform to c.Expr[Any]
  def foo = macro Impls.foo
                        ^
one error found