diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-12-03 19:12:20 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-12-03 19:12:20 +0100 |
commit | 673bc700fc32fa18941554533dfd31bf2523d45e (patch) | |
tree | e71ff7c293733068d45f00a6cb5684ad949c386f /test/files/neg/t6558b.scala | |
parent | c24400f13e594dffc2a3e68e161c8f36979bfd30 (diff) | |
download | scala-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/t6558b.scala')
-rw-r--r-- | test/files/neg/t6558b.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/neg/t6558b.scala b/test/files/neg/t6558b.scala new file mode 100644 index 0000000000..2aa06f69cf --- /dev/null +++ b/test/files/neg/t6558b.scala @@ -0,0 +1,15 @@ +class AnnotNotFound { + def foo(a: Any) = () + + foo { + @inargument + def foo = 0 + foo + } + + () => { + @infunction + def foo = 0 + () + } +} |