From c6cf4fc02204d20f792bd493641d8ccd12421800 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Sat, 30 May 2009 18:10:21 +0000 Subject: big overhaul of annotations implementation. --- test/files/neg/annot-nonconst.check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/neg/annot-nonconst.check') diff --git a/test/files/neg/annot-nonconst.check b/test/files/neg/annot-nonconst.check index ef1a72adf2..bc6a0d2c48 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 make your annotation visible at runtime. If that is what you want, you must write the annotation class in Java. -class Length(n: Int) extends ClassfileAnnotation +class Length(value: Int) extends ClassfileAnnotation ^ -annot-nonconst.scala:5: error: attribute argument needs to be a constant; found: Test.this.n +annot-nonconst.scala:5: error: annotation argument needs to be a constant; found: n @Length(n) def foo = "foo" ^ one warning found -- cgit v1.2.3