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/t6558.scala | |
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/t6558.scala')
-rw-r--r-- | test/files/neg/t6558.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/files/neg/t6558.scala b/test/files/neg/t6558.scala index bdc441698f..b4304ff686 100644 --- a/test/files/neg/t6558.scala +++ b/test/files/neg/t6558.scala @@ -1,21 +1,6 @@ class AnnotNotFound { def foo(a: Any) = () - foo { - // Not yet issued in the context of this file, see SI-6758 - // This error is issued in t6558b.scala - @inargument - def foo = 0 - foo - } - - () => { - // As per above - @infunction - def foo = 0 - () - } - @classs class C |