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