This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

for-each does not compile in CVS tree


For those testing CVS tree version of Kawa only:

The new inlined version of for-each does not work properly when compiled

In fact, it does nothing. I don't know why.

For example, consider this code in a compiled file
(define (zozo)
     (for-each display '(4 6 3 2)))

Any call to (zozo) does not print anything.

Note : if you replace for-each by map, it works well.

WORKAROUND :
Disable inlining of for-each in map.java

I hope it helps.

Manu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]