summaryrefslogtreecommitdiff
path: root/test/files/neg/tailrec.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-01-10 09:22:03 +0000
committerPaul Phillips <paulp@improving.org>2011-01-10 09:22:03 +0000
commitc35d829d1840f87e800c21e55982e4b6d4516211 (patch)
tree5490e505185494e395c94003cd83a9a8a208c866 /test/files/neg/tailrec.check
parente05dfaeabf430dac8909ff9e5a5911b0c94101ae (diff)
downloadscala-c35d829d1840f87e800c21e55982e4b6d4516211.tar.gz
scala-c35d829d1840f87e800c21e55982e4b6d4516211.tar.bz2
scala-c35d829d1840f87e800c21e55982e4b6d4516211.zip
Couldn't stop working on tailcalls.
Diffstat (limited to 'test/files/neg/tailrec.check')
-rw-r--r--test/files/neg/tailrec.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/tailrec.check b/test/files/neg/tailrec.check
index f6865b2f9d..ad92731b2c 100644
--- a/test/files/neg/tailrec.check
+++ b/test/files/neg/tailrec.check
@@ -3,7 +3,7 @@ tailrec.scala:45: error: could not optimize @tailrec annotated method facfail: i
^
tailrec.scala:50: error: could not optimize @tailrec annotated method fail1: it is neither private nor final so can be overridden
@tailrec def fail1(x: Int): Int = fail1(x)
- ^
+ ^
tailrec.scala:55: error: could not optimize @tailrec annotated method fail2: it contains a recursive call not in tail position
case x :: xs => x :: fail2[T](xs)
^