summaryrefslogtreecommitdiff
path: root/test/files/neg/reify_ann2b.check
blob: ceb70689f13947772af2dfe2059ed66d4a242f8f (plain) (blame)
1
2
3
4
5
6
7
reify_ann2b.scala:10: error: inner classes cannot be classfile annotations
    class ann(bar: String) extends ClassfileAnnotation
          ^
reify_ann2b.scala:9: error: exception during macro expansion: implementation restriction: cannot reify annotation @ann(bar = "1a") which involves a symbol declared inside the block being reified
  val tree = scala.reflect.Code.lift{
                                    ^
two errors found