diff options
author | Paul Phillips <paulp@improving.org> | 2011-01-10 09:22:03 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-01-10 09:22:03 +0000 |
commit | c35d829d1840f87e800c21e55982e4b6d4516211 (patch) | |
tree | 5490e505185494e395c94003cd83a9a8a208c866 /test/files/neg | |
parent | e05dfaeabf430dac8909ff9e5a5911b0c94101ae (diff) | |
download | scala-c35d829d1840f87e800c21e55982e4b6d4516211.tar.gz scala-c35d829d1840f87e800c21e55982e4b6d4516211.tar.bz2 scala-c35d829d1840f87e800c21e55982e4b6d4516211.zip |
Couldn't stop working on tailcalls.
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/tailrec.check | 2 |
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) ^ |