summaryrefslogtreecommitdiff
path: root/test/files/neg/t6558.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2012-12-03 19:12:20 +0100
committerJason Zaugg <jzaugg@gmail.com>2012-12-03 19:12:20 +0100
commit673bc700fc32fa18941554533dfd31bf2523d45e (patch)
treee71ff7c293733068d45f00a6cb5684ad949c386f /test/files/neg/t6558.scala
parentc24400f13e594dffc2a3e68e161c8f36979bfd30 (diff)
downloadscala-673bc700fc32fa18941554533dfd31bf2523d45e.tar.gz
scala-673bc700fc32fa18941554533dfd31bf2523d45e.tar.bz2
scala-673bc700fc32fa18941554533dfd31bf2523d45e.zip
Split test case to workaround incomplete error report.
Reporting some errors prevents reporting others. This residual issue had been lodged as SI-6758.
Diffstat (limited to 'test/files/neg/t6558.scala')
-rw-r--r--test/files/neg/t6558.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/t6558.scala b/test/files/neg/t6558.scala
index cedd587c84..bdc441698f 100644
--- a/test/files/neg/t6558.scala
+++ b/test/files/neg/t6558.scala
@@ -2,12 +2,15 @@ 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
()