This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: syntax-rules problem
On 03/10/2017 11:04 AM, Per Bothner wrote:
Obviously, Kawa should not throw ArrayIndexOutOfBoundsException,
but should instead report an error. So that is a Kawa bug.
I fixed Kawa to print an error message in this case, rather than
throwing ArrayIndexOutOfBoundsException.
The message isn't as helpful as I'd like. One complication is that
pattern variable names aren't available at macro-expansion time.
This could be changed, but it isn't a priority right now.
--
--Per Bothner
per@bothner.com http://per.bothner.com/