On Wed, Feb 04, 2026 at 01:29:21PM +0100, Stanislav Kljuhhin via Chicken-users 
wrote:
> Hi,
> 
> There are some hygiene issues in defstruct egg, where old, new, and old-make
> symbols are not renamed.
> 
>  (defstruct a new)
>  (defstruct b old-make)
> 
>  (a-new (update-a (make-a) #:new 1)) ; => #<a>
>  (make-b) ; => Error: call of non-procedure: #f
> 
> The issue telegraphs to typed-records egg as well.
> 
> The attached patch should remedy that.

Hello Stan,

Oh, that's an embarrasing mistake.  Many thanks for the patch!
I've applied it to the CHICKEN 4, 5 and 6 branches and tagged
new releases (1.7 for C4 and 2.1 for C5 and C6).

Cheers,
Peter

Reply via email to