From 25ecde037f22ff92df5459aaa5360a9760f1f05f Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 23 Nov 2011 03:11:53 +0000 Subject: Reworked AnnotationInfo patch. Took a more ambitious swing based on input from martin. Eliminated the external map and gave annotations a more useful inheritance hierarchy. Eliminated AnnotationInfoBase and made LazyAnnotationInfo an AnnotationInfo (just like LazyType is a Type.) Review by odersky. --- test/files/neg/t3222.check | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'test/files/neg/t3222.check') diff --git a/test/files/neg/t3222.check b/test/files/neg/t3222.check index 6170827cc9..e724024f45 100644 --- a/test/files/neg/t3222.check +++ b/test/files/neg/t3222.check @@ -1,13 +1,7 @@ -t3222.scala:1: error: not found: type B -@throws(classOf[B]) - ^ t3222.scala:4: error: not found: type D def foo(@throws(classOf[D]) x: Int) {} ^ -t3222.scala:3: error: not found: type C - @throws(classOf[C]) - ^ -t3222.scala:6: error: not found: type E - @throws(classOf[E]) - ^ -four errors found +t3222.scala:1: error: not found: type B +@throws(classOf[B]) + ^ +two errors found -- cgit v1.2.3