This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: problem with java.lang.StringBuffer append method
- To: Allan Erskine <a dot erskine at cs dot ucl dot ac dot uk>
- Subject: Re: problem with java.lang.StringBuffer append method
- From: Per Bothner <per at bothner dot com>
- Date: 12 May 2001 15:14:14 -0700
- Cc: "Kawa (E-mail)" <kawa at sources dot redhat dot com>
- References: <001401c0da22$8beb49d0$ea4dfea9@spukny>
Allan Erskine <a.erskine@cs.ucl.ac.uk> writes:
> Could anyone tell me why this doesn't work (latest CVS):
Well, loosely it is because Kawa cannot choose between two
applicable StringBuffer.append methods. I've started digging
into what the problem is and how to fix it. (Kawa does have the
smarts to pick the most specific method, but the dynamic typing
of Scheme combined with Java static method overload resolution
combined with the goal of trying to resolve the correct method
at Kawa compile time makes things a bit tricky.)
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/