From unknown Thu Aug 14 21:53:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25211 <25211@debbugs.gnu.org> To: bug#25211 <25211@debbugs.gnu.org> Subject: Status: GOOPS #:class alocation broken in Guile 2.2 Reply-To: bug#25211 <25211@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:53:38 +0000 retitle 25211 GOOPS #:class alocation broken in Guile 2.2 reassign 25211 guile submitter 25211 Christopher Allan Webber severity 25211 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 14:40:04 2016 Received: (at submit) by debbugs.gnu.org; 15 Dec 2016 19:40:04 +0000 Received: from localhost ([127.0.0.1]:43244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHbsq-00054N-6m for submit@debbugs.gnu.org; Thu, 15 Dec 2016 14:40:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHbso-00053l-1g for submit@debbugs.gnu.org; Thu, 15 Dec 2016 14:40:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHbsh-0007k7-N3 for submit@debbugs.gnu.org; Thu, 15 Dec 2016 14:39:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHbsh-0007jr-K2 for submit@debbugs.gnu.org; Thu, 15 Dec 2016 14:39:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHbsg-0000wI-FB for bug-guile@gnu.org; Thu, 15 Dec 2016 14:39:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHbsc-0007d2-FO for bug-guile@gnu.org; Thu, 15 Dec 2016 14:39:54 -0500 Received: from dustycloud.org ([50.116.34.160]:42970) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHbsc-0007cL-B9 for bug-guile@gnu.org; Thu, 15 Dec 2016 14:39:50 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 5AEF0267F6 for ; Thu, 15 Dec 2016 14:39:48 -0500 (EST) User-agent: mu4e 0.9.16; emacs 25.1.1 From: Christopher Allan Webber To: bug-guile@gnu.org Subject: GOOPS #:class alocation broken in Guile 2.2 Date: Thu, 15 Dec 2016 13:39:47 -0600 Message-ID: <87y3zhugl8.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) In Guile 2.2: (define-class () (bar #:allocation #:class #:init-value 'baz)) (slot-definition-allocation (class-slot-definition 'bar)) => #:instance In Guile 2.0 this properly returns #:class. Also, curiously, Guile 2.2 breaks if you present the keywords in the wrong order: (define-class () (bar #:allocation #:class #:init-value 'baz)) oop/goops.scm:352:0: In procedure class-precedence-list: oop/goops.scm:352:0: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #:init-value Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(#{8sync}# systems actors) [1]> ,bt In current input: 1205:0 4 (_) In oop/goops.scm: 2978:4 3 (_ _ . _) 811:17 2 (%prep-layout! #< 30b1b40>) 767:19 1 (%compute-layout _ 0 #f) 352:0 0 (class-precedence-list _) I'm guessing that's related! From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 01 09:39:01 2017 Received: (at 25211-done) by debbugs.gnu.org; 1 Mar 2017 14:39:01 +0000 Received: from localhost ([127.0.0.1]:33025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj5PB-0000ow-GY for submit@debbugs.gnu.org; Wed, 01 Mar 2017 09:39:01 -0500 Received: from pb-sasl2.pobox.com ([64.147.108.67]:59171 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj5PA-0000op-7a for 25211-done@debbugs.gnu.org; Wed, 01 Mar 2017 09:39:00 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id D6BAD65ADA; Wed, 1 Mar 2017 09:38:59 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=uATXTJmt6hvDFXMhnHzj73LP6HE=; b=d1wrfi n9eHAtMH+4PjBxRGDe3uLHSarmsA1Uqse7/c3X9m036wKnZt0R/NdkVDMg8l6oRI ZjJFwZB6544rW0QrTZUmXUiakthECddTB9YHz1cqo+y0FpaHfFhntZDk5tLwwwiU F1o+LkGINlWHpnB7Wgf6wPcN+/uOM4XaNdHRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=I75PcFhLj+yPMqYKAQN/LadIYIUlfBX6 6/UN3f2s/2jl9h4FJu0Sufvcy9S65fxuZA1LXOxpFgqCylira4h8PJxu+HNlxpz9 3NJ0ZAdCjttemXBmqZ8lSWTw4jQEbZvXgpR2chkUh+MPsYs5PrR8A5qDBOUpcg3p 5wxdZtkm+gU= Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id D002C65AD9; Wed, 1 Mar 2017 09:38:59 -0500 (EST) Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 1584C65AD8; Wed, 1 Mar 2017 09:38:58 -0500 (EST) From: Andy Wingo To: Christopher Allan Webber Subject: Re: bug#25211: GOOPS #:class alocation broken in Guile 2.2 References: <87y3zhugl8.fsf@dustycloud.org> Date: Wed, 01 Mar 2017 15:38:52 +0100 In-Reply-To: <87y3zhugl8.fsf@dustycloud.org> (Christopher Allan Webber's message of "Thu, 15 Dec 2016 13:39:47 -0600") Message-ID: <87zih5f4eb.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: CE663FA4-FE8C-11E6-A085-85AB91A0D1B0-02397024!pb-sasl2.pobox.com X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25211-done Cc: 25211-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Thu 15 Dec 2016 20:39, Christopher Allan Webber writes: > In Guile 2.2: > > (define-class () > (bar #:allocation #:class > #:init-value 'baz)) > > (slot-definition-allocation (class-slot-definition 'bar)) > => #:instance Fixed. Thanks for the report! Andy From unknown Thu Aug 14 21:53:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 30 Mar 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator