summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-noncompilertree.check
blob: 616765a39e67bfc67a733eb8c86a4c60d96143c1 (plain) (blame)
1
2
3
4
5
6
Macros_1.scala:2: error: type mismatch;
 found   : reflect.mirror.Literal
 required: _context.Tree
  def macro foo = scala.reflect.mirror.Literal(scala.reflect.mirror.Constant(2))
                                              ^
one error found