This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: bug in Kawa 1.6.98 and 1.7: overriding rest argument with non-list value
- From: Per Bothner <per at bothner dot com>
- To: "Hoehle, Joerg-Cyril" <Joerg-Cyril dot Hoehle at t-systems dot com>
- Cc: kawa at sources dot redhat dot com
- Date: Tue, 22 Jul 2003 19:13:46 -0700
- Subject: Re: bug in Kawa 1.6.98 and 1.7: overriding rest argument with non-list value
- References: <9F8582E37B2EE5498E76392AEDDCD3FE05705CE2@G8PQD.blf01.telekom.de>
Hoehle, Joerg-Cyril wrote:
It seems like the compiler tries to assert type information (kawa list type) for max-no-char which is wrong here because the #!rest variable gets superseeded by a non-list value by the assignment.
Correct. It's a known problem. I haven't gotten around to fixing it
because the code that triggers the bug is questionable style, the
work-around is easy, and the fix may be non-trivial. So I don't forget
it, could you report it in the (new-ish) Kawa bugzilla database:
http://savannah.gnu.org/bugs/?func=addbug&group=kawa
--
--Per Bothner
per@bothner.com http://per.bothner.com/