This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Bug: WrongArguments
- To: kawa at sourceware dot cygnus dot com
- Subject: Bug: WrongArguments
- From: "Otto, Marcus" <Otto_Marcus at ph-ludwigsburg dot de>
- Date: Fri, 30 Mar 2001 17:53:50 +0200
- Organization: Paed. Hochschule Ludwigsburg
Hi,
I guess there is something wrong with the tailcall-elimination.
Doing the following with kawa 1.6.70 and the option --full-tailcalls
look a bit strange:
(define (f x) x)
(f 5)
5
(f 5 6)
5
(f)
java.lang.ArrayIndexOutOfBoundsException
compared to the behaviour without the option:
(define (f x) x)
(f 5)
5
(f)
gnu.mapping.WrongArguments: call to `f' has too few arguments (0;
must be 1)
(f 5 6)
gnu.mapping.WrongArguments: call to `f' has too many arguments (2;
must be 1)
regards,
Marcus
-------------------------------------------------------
Marcus Otto
Institute for Mathematics and Computer Science
Ludwigsburg Educational University
Reuteallee 46 - 71634 Ludwigsburg - Germany
phone: ++49 (0)7141/140-420
e-mail: otto_marcus@ph-ludwigsburg.de
-------------------------------------------------------