This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
define-simple-class first use comments
- To: "'kawa at sources dot redhat dot com'" <kawa at sources dot redhat dot com>
- Subject: define-simple-class first use comments
- From: "Heineman, William P" <william_p_heineman at groton dot pfizer dot com>
- Date: Thu, 30 Aug 2001 09:45:05 -0400
Just implemented some classes with the define-simple-class syntax and ran
into the following problems/workarounds:
1. Field names can not have hyphens. Field names have to be java compatible.
2. If for-each is used inside a method class fields are not accessible. I
haven't tried it but I would guess that no lambda form enclosed inside a
method would have access to the outer class closure. I solved my immediate
problem by converting the for-each form to a do form.
Cheers
Willy Heineman
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.