From c35d829d1840f87e800c21e55982e4b6d4516211 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 10 Jan 2011 09:22:03 +0000 Subject: Couldn't stop working on tailcalls. --- test/files/neg/tailrec.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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) ^ -- cgit v1.2.3