diff options
author | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-12-06 23:50:08 +0100 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-12-11 10:39:52 +0100 |
commit | 089173d14544ee622f65fa1c9ce30d98414e8cdb (patch) | |
tree | c14aa210c86b8822a94795a7da59a5633d06eaf5 /test/files/neg/t6758.check | |
parent | 7fe7d2537963dd24ea1cca7b0c4b96f96b773c4a (diff) | |
download | scala-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/t6758.check')
-rw-r--r-- | test/files/neg/t6758.check | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/files/neg/t6758.check b/test/files/neg/t6758.check new file mode 100644 index 0000000000..2cdd6b8ae5 --- /dev/null +++ b/test/files/neg/t6758.check @@ -0,0 +1,28 @@ +t6758.scala:5: error: not found: type inargument + @inargument + ^ +t6758.scala:11: error: not found: type infunction + @infunction + ^ +t6758.scala:18: error: not found: type nested + @nested + ^ +t6758.scala:25: error: not found: type param + def func(@param x: Int): Int = 0 + ^ +t6758.scala:28: error: not found: type typealias + @typealias + ^ +t6758.scala:32: error: not found: type classs + @classs + ^ +t6758.scala:35: error: not found: type module + @module + ^ +t6758.scala:38: error: not found: type typeparam + class D[@typeparam T] + ^ +t6758.scala:41: error: not found: type valueparam + @valueparam x: Any + ^ +9 errors found |