chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Avoid invalid specializations for multi-va


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Avoid invalid specializations for multi-valued foreign-primitives
Date: Sat, 11 Oct 2014 14:34:51 +0200
User-agent: Mutt/1.4.2.3i

On Thu, Oct 09, 2014 at 07:08:59AM +1300, Evan Hanson wrote:
> The foreign-primitive form may return multiple values with the C_values
> function, but its expansion is always declared to return a (single)
> undefined value. This triggers invalid ##sys#c-w-v specializations for
> single-valued producers where multiple values may in fact result.
> 
> This fixes that declaration so that multiple values are expected when no
> return type is specified.

Well-spotted!  I've pushed this to master and chicken-5 (after fixing up
the conflict caused by the new module names).  Thanks!

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]