diff options
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/annot-nonconst.check | 4 | ||||
-rw-r--r-- | test/files/neg/t0117.check | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/annot-nonconst.check b/test/files/neg/annot-nonconst.check index 23429bb11a..385f066baa 100644 --- a/test/files/neg/annot-nonconst.check +++ b/test/files/neg/annot-nonconst.check @@ -1,9 +1,9 @@ -annot-nonconst.scala:1: warning: implementation restriction: subclassing Classfile does not +annot-nonconst.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 Length(value: Int) extends ClassfileAnnotation ^ -annot-nonconst.scala:2: warning: implementation restriction: subclassing Classfile does not +annot-nonconst.scala:2: 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 Ann2(value: String) extends ClassfileAnnotation diff --git a/test/files/neg/t0117.check b/test/files/neg/t0117.check index fd6af54e77..db28b60f3e 100644 --- a/test/files/neg/t0117.check +++ b/test/files/neg/t0117.check @@ -1,4 +1,4 @@ -t0117.scala:2: error: implementation restriction: traits may not select fields or methods from to super[C] where C is a class +t0117.scala:2: error: Implementation restriction: traits may not select fields or methods from to super[C] where C is a class trait B extends A { println(super[A].a) } ^ one error found |