diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2006-03-27 15:42:41 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2006-03-27 15:42:41 +0000 |
commit | 95921f1ad9d7d72136c8336fb13343f1a9c83352 (patch) | |
tree | dc9e4300250896bfc267ca54a54627219ba7e186 /test/files/neg/faculty.check | |
parent | f9874202d8e8df2fbe861a6194d404a64d04fbd5 (diff) | |
download | scala-95921f1ad9d7d72136c8336fb13343f1a9c83352.tar.gz scala-95921f1ad9d7d72136c8336fb13343f1a9c83352.tar.bz2 scala-95921f1ad9d7d72136c8336fb13343f1a9c83352.zip |
Updated checks so that test suite suceeds.
Diffstat (limited to 'test/files/neg/faculty.check')
-rw-r--r-- | test/files/neg/faculty.check | 2 |
1 files changed, 1 insertions, 1 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 |