From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: goops - guile-clutter unexpected bug while using #:virtual slot allocation for a subclass Date: Tue, 27 Jan 2015 21:44:52 +0100 Message-ID: <87zj94c5rv.fsf@pobox.com> References: <20141219174633.6efb845e@capac> <8761btfcni.fsf@pobox.com> <20150126230044.2d1e71de@capac> <87sieweie4.fsf@pobox.com> <20150127171115.6172ccea@capac> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422391513 31706 80.91.229.3 (27 Jan 2015 20:45:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 20:45:13 +0000 (UTC) Cc: guile-devel To: David Pirotte Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 27 21:45:09 2015 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YGD0W-0007c3-Fu for guile-devel@m.gmane.org; Tue, 27 Jan 2015 21:45:08 +0100 Original-Received: from localhost ([::1]:49880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGD0V-00061V-QB for guile-devel@m.gmane.org; Tue, 27 Jan 2015 15:45:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGD0Q-00060i-Mw for guile-devel@gnu.org; Tue, 27 Jan 2015 15:45:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGD0N-0006tA-GS for guile-devel@gnu.org; Tue, 27 Jan 2015 15:45:02 -0500 Original-Received: from pb-sasl1.int.icgroup.com ([208.72.237.25]:51777 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGD0N-0006sv-DH for guile-devel@gnu.org; Tue, 27 Jan 2015 15:44:59 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id CE70D307E1; Tue, 27 Jan 2015 15:44:58 -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=JYldyqq2Dt0a5Lw1ZNhT0ILxflM=; b=H42d4/ SLfzVK+Hy8OycFSfHRCcEBDYjRjln0rNbIVtzIrYR1bXvNFTlWOtwPiRBMrVqi8F 33eFwqGjdbpst5cdIL28x1ywhpMhW+axnyXGPvvFtVwBWFNutL+2uUo2Yu6eRy8I DatqCvOccvWyPm/aNcp8OOEwGjPzSXmIPHEpM= 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=bs4AJ1YJUgUynfktGa7VCnPv3MjtHEJG 2gN5JqDhSbyFB2TLu8yeaQe570BWriFy+Arkmap5CuMCErmb4uKF1TepUrLuEsMZ bH3RjghS5R+tM2M8EhtbmjlOb6lYF+ntFcqD7W9tj5sqQrLAx0kSYCTnv3BBTRfz dXUnmScQK0w= Original-Received: from pb-sasl1.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id C53A2307E0; Tue, 27 Jan 2015 15:44:58 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 1BD12307DD; Tue, 27 Jan 2015 15:44:57 -0500 (EST) In-Reply-To: <20150127171115.6172ccea@capac> (David Pirotte's message of "Tue, 27 Jan 2015 17:11:15 -0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Pobox-Relay-ID: 5B5F1FB6-A665-11E4-9637-B05EFC961345-02397024!pb-sasl1.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17642 Archived-At: On Tue 27 Jan 2015 20:11, David Pirotte writes: >> The setters inheritance bug is fixed to be like 1.8. > > Thanks, it _does_ work as expected now, now as in using the latest > stable-2.0! Are you certain? What git revision are you using? I don't think the test should "work" with the current stable-2.0 or master, or 1.8 for that matter. $ /opt/guile-1.8/bin/guile guile> (use-modules (oop goops)) guile> (define-class () ... (width #:accessor width #:init-keyword #:width #:init-value 0)) guile> (define-class ()) guile> (define b (make )) guile> (width b) 0 guile> (set! (width b) 10) guile> (width b) 10 guile> (define-method ((setter width) (self ) width) (next-method)) guile> (set! (width b) 10) Backtrace: In current input: 10: 0* [setter:width #< 7f795ed527e0> 10] ?: 1 (let* ((next-method (goops:make-next-method self width))) (next-method)) : In expression (let* (#) (next-method)): : No next method when calling #< setter:width (2)> with arguments (#< 7f795ed527e0> 10) ABORT: (goops-error) Andy -- http://wingolog.org/