diff options
author | Martin Odersky <odersky@gmail.com> | 2006-03-27 13:34:36 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-03-27 13:34:36 +0000 |
commit | eccdddcc73dc532885abaee500e1b35953723d5a (patch) | |
tree | ac87a68be1d9325a58a5ccbb198bd58001f0cf5d /test/files/neg/faculty.check | |
parent | d0d3ec60983897a0d7b54b8fc74acb1adffa2e18 (diff) | |
download | scala-eccdddcc73dc532885abaee500e1b35953723d5a.tar.gz scala-eccdddcc73dc532885abaee500e1b35953723d5a.tar.bz2 scala-eccdddcc73dc532885abaee500e1b35953723d5a.zip |
1.
2. Cleaned up search of implicit names to make it conformant to the
spec. 3. Made Sean's SOURCE CHANGE messages dependent on option -debug.
Diffstat (limited to 'test/files/neg/faculty.check')
-rw-r--r-- | test/files/neg/faculty.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/faculty.check b/test/files/neg/faculty.check new file mode 100644 index 0000000000..1a1c65f853 --- /dev/null +++ b/test/files/neg/faculty.check @@ -0,0 +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)
+ ^ +one error found |