summaryrefslogtreecommitdiff
path: root/test/files/neg/static-annot.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/static-annot.check')
-rw-r--r--test/files/neg/static-annot.check5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/files/neg/static-annot.check b/test/files/neg/static-annot.check
index c98e7d9658..66efebdcee 100644
--- a/test/files/neg/static-annot.check
+++ b/test/files/neg/static-annot.check
@@ -13,10 +13,7 @@ static-annot.scala:38: error: The @static annotation is only allowed on public m
static-annot.scala:39: error: The @static annotation is not allowed on lazy members.
@static lazy val bam = 3
^
-static-annot.scala:52: error: The @static annotation is not allowed on method definitions.
- @static def x = 42
- ^
static-annot.scala:14: error: Only members of top-level objects and their nested objects can be annotated with @static.
@static val blah = 2
^
-7 errors found
+6 errors found \ No newline at end of file