summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidret-nonuniversetree.check
blob: 4fc06b5cebacc3bee4492546f7e0b444d7a425e1 (plain) (blame)
1
2
3
4
5
6
7
Macros_Test_2.scala:2: error: macro implementation has wrong shape:
 required: (c: scala.reflect.makro.Context): c.Expr[Any]
 found   : (c: scala.reflect.makro.Context): reflect.mirror.Literal
type mismatch for return type: reflect.mirror.Literal does not conform to c.Expr[Any]
  def foo = macro Impls.foo
                        ^
one error found