This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Bug in =
- From: "Are Meisfjord" <are at meisfjord dot com>
- To: kawa at sources dot redhat dot com
- Date: Wed, 16 Apr 2003 07:26:05 +0200
- Subject: Bug in =
This code fails to compile:
(define (a b)
(if (= 2 (length b)) 2 b))
This is what happens:
(compiling bug1.scm)
Internal error while compiling bug1.scm:2
java.lang.Error: emitGotoIfCompare2: logop must be one of ifeq...ifle
at
gnu.bytecode.CodeAttr.emitGotoIfCompare2(CodeAttr.java:1302)
...
If the sequence of the two arguments to = is changed it works fine.
Regards,
Are