summaryrefslogtreecommitdiff
path: root/test/files/neg/t3222.check
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@gmail.com>2012-12-06 23:50:08 +0100
committerHubert Plociniczak <hubert.plociniczak@gmail.com>2012-12-11 10:39:52 +0100
commit089173d14544ee622f65fa1c9ce30d98414e8cdb (patch)
treec14aa210c86b8822a94795a7da59a5633d06eaf5 /test/files/neg/t3222.check
parent7fe7d2537963dd24ea1cca7b0c4b96f96b773c4a (diff)
downloadscala-089173d14544ee622f65fa1c9ce30d98414e8cdb.tar.gz
scala-089173d14544ee622f65fa1c9ce30d98414e8cdb.tar.bz2
scala-089173d14544ee622f65fa1c9ce30d98414e8cdb.zip
Fixes SI-6758: force LazyAnnnotationInfo for DefDef and TypeDef
Looks like the change in 25ecde037f22ff no longer forced lazy annotations for some of the cases. Also removed forcing for PackageDef annotations as we currently don't support them.
Diffstat (limited to 'test/files/neg/t3222.check')
-rw-r--r--test/files/neg/t3222.check14
1 files changed, 10 insertions, 4 deletions
diff --git a/test/files/neg/t3222.check b/test/files/neg/t3222.check
index e724024f45..6170827cc9 100644
--- a/test/files/neg/t3222.check
+++ b/test/files/neg/t3222.check
@@ -1,7 +1,13 @@
-t3222.scala:4: error: not found: type D
- def foo(@throws(classOf[D]) x: Int) {}
- ^
t3222.scala:1: error: not found: type B
@throws(classOf[B])
^
-two errors found
+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