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