summaryrefslogtreecommitdiff
path: root/test/files/neg/bug2388.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-07 04:38:25 +0000
committerPaul Phillips <paulp@improving.org>2011-08-07 04:38:25 +0000
commit2b31bc81adfe6470e7da4546a4858482e8a5b61f (patch)
treed629be4a40c1bdf7cd45926cc5938ea5a46b6b16 /test/files/neg/bug2388.check
parent05382e2351e1ec6ebfbb50c4df12a2b1410a0b80 (diff)
downloadscala-2b31bc81adfe6470e7da4546a4858482e8a5b61f.tar.gz
scala-2b31bc81adfe6470e7da4546a4858482e8a5b61f.tar.bz2
scala-2b31bc81adfe6470e7da4546a4858482e8a5b61f.zip
Avoid some spurious errors after a cyclical ref...
Avoid some spurious errors after a cyclical reference error. Closes SI-2388, no review.
Diffstat (limited to 'test/files/neg/bug2388.check')
-rw-r--r--test/files/neg/bug2388.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug2388.check b/test/files/neg/bug2388.check
new file mode 100644
index 0000000000..f96cb594d1
--- /dev/null
+++ b/test/files/neg/bug2388.check
@@ -0,0 +1,4 @@
+bug2388.scala:2: error: recursive method search needs result type
+ val searchField = new AnyRef { search() }
+ ^
+one error found