Questions about #!key arguments
Jamison Hope
jrh@theptrgroup.com
Tue Oct 25 22:07:00 GMT 2011
On Oct 25, 2011, at 5:51 PM, Per Bothner wrote:
> On 10/25/2011 12:27 PM, Per Bothner wrote:
>> On 10/25/2011 12:01 PM, Jamison Hope wrote:
>>> but keyword arguments only work with arguments that are
>>> Objects, not primitives. So, when you use int, things blow up.
>>
>> You are indeed correct. I'm working on a fix.
>
> I checked in the fix. It was a little more tricky than it first
> seemed,
> because I needed to figure out the best way to avoid a pointless
> object allocation (and tweaking type inference).
Fix confirmed. Taylor, feel free to go back to using ::int.
--
Jamison Hope
The PTR Group
www.theptrgroup.com
More information about the Kawa
mailing list