GNU bug report logs - #46175
Redefinable classes clobber custom slot options

Previous Next

Package: guile;

Reported by: "Thompson, David" <dthompson2 <at> worcester.edu>

Date: Fri, 29 Jan 2021 16:44:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 46175-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: "Thompson, David" <dthompson2 <at> worcester.edu>
Cc: 46175-done <at> debbugs.gnu.org
Subject: Re: bug#46175: Redefinable classes clobber custom slot options
Date: Sat, 20 Mar 2021 20:02:29 +0100
On Fri 29 Jan 2021 17:43, "Thompson, David" <dthompson2 <at> worcester.edu> writes:

> The compute-slots method for <redefinable-class> does a transformation
> of #:allocation #:instance slots to #:allocation #:virtual slots, but
> in doing so it discards all slot options besides the standard ones.
> This means that a metaclass that inherits from <redefinable-class>
> won't work as expected if it relies upon custom slot options.

Thanks for the report; patch applied!

Andy




This bug report was last modified 4 years and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.