summaryrefslogtreecommitdiff
path: root/test/files/neg/faculty.check
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-08-12 14:39:55 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-08-12 14:39:55 +0000
commitd27e89c0bc0ee1775eae09238319c44e85a44d5d (patch)
treee2f81270d39cadcbe30949757cddf4e7af8ddb42 /test/files/neg/faculty.check
parentfe4591ba0c8d727ee563ba4752a86db5d220ec76 (diff)
downloadscala-d27e89c0bc0ee1775eae09238319c44e85a44d5d.tar.gz
scala-d27e89c0bc0ee1775eae09238319c44e85a44d5d.tar.bz2
scala-d27e89c0bc0ee1775eae09238319c44e85a44d5d.zip
Fixing more deprecation warnings.
Diffstat (limited to 'test/files/neg/faculty.check')
-rw-r--r--test/files/neg/faculty.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/faculty.check b/test/files/neg/faculty.check
index 029ef16e59..b1d1d4c9f8 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