summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-scala-annotations.check
blob: 44062d8c4aa391dee2f702eccb79ffacea562fc4 (plain) (blame)
1
2
3
4
5
6
7
reflection-scala-annotations.scala:5: warning: Implementation restriction: subclassing Classfile does not
make your annotation visible at runtime.  If that is what
you want, you must write the annotation class in Java.
class jann(x: Int, y: Array[Int]) extends ClassfileAnnotation
      ^
new sann(1, scala.collection.immutable.List.apply[Int](1, 2))
new jann(y = Array(1, 2), x = 2)