From 95921f1ad9d7d72136c8336fb13343f1a9c83352 Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Mon, 27 Mar 2006 15:42:41 +0000 Subject: Updated checks so that test suite suceeds. --- test/files/neg/faculty.check | 2 +- test/files/neg/imp2.check | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/files/neg/faculty.check b/test/files/neg/faculty.check index 1a1c65f853..0fccb73753 100644 --- a/test/files/neg/faculty.check +++ b/test/files/neg/faculty.check @@ -1,4 +1,4 @@ faculty.scala:3 error: recursive method faculty needs result type - def faculty(x: int) = if (x == 0) 1 else x * faculty(x - 1) + def faculty(x: int) = if (x == 0) 1 else x * faculty(x - 1) ^ one error found diff --git a/test/files/neg/imp2.check b/test/files/neg/imp2.check index 2daca73bf3..fed30dba59 100644 --- a/test/files/neg/imp2.check +++ b/test/files/neg/imp2.check @@ -2,6 +2,6 @@ imp2.scala:18 error: reference to f is ambiguous; it is imported twice in the same scope by import b.{_} and import a.{_} - val x = f + val x = f ^ one error found -- cgit v1.2.3