blob: b68de5ce087a7e9b73ddb98d076cfc9b9e813497 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
t6082.scala:1: 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 annot(notValue: String) extends annotation.ClassfileAnnotation
^
t6082.scala:2: error: classfile annotation arguments have to be supplied as named arguments
@annot("") class C
^
t6082.scala:2: error: annotation annot is missing argument notValue
@annot("") class C
^
one warning found
two errors found
|