From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Diogo F. S. Ramos" Newsgroups: gmane.lisp.guile.user Subject: Re: #:getter procedure returns unexpected value in GOOPS Date: Sat, 26 Apr 2014 19:58:48 -0300 Message-ID: <87fvkzhf4n.fsf@nebulosa.milkyway> References: <87mwf9hu1v.fsf@nebulosa.milkyway> <877g6ccm4w.fsf@ossau.homelinux.net> <87a9b8hu46.fsf@nebulosa.milkyway> <20140426191909.3902016f@capac> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1398553166 9673 80.91.229.3 (26 Apr 2014 22:59:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2014 22:59:26 +0000 (UTC) Cc: guile-user@gnu.org To: David Pirotte Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Apr 27 00:59:19 2014 Return-path: Envelope-to: guile-user@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 1WeBYz-0004dt-VI for guile-user@m.gmane.org; Sun, 27 Apr 2014 00:59:18 +0200 Original-Received: from localhost ([::1]:37453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeBYz-0006Ng-6e for guile-user@m.gmane.org; Sat, 26 Apr 2014 18:59:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeBYl-0006NU-DC for guile-user@gnu.org; Sat, 26 Apr 2014 18:59:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WeBYc-0000NA-Sb for guile-user@gnu.org; Sat, 26 Apr 2014 18:59:03 -0400 Original-Received: from mx1.riseup.net ([198.252.153.129]:33045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeBYc-0000Mv-NL for guile-user@gnu.org; Sat, 26 Apr 2014 18:58:54 -0400 Original-Received: from fruiteater.riseup.net (fruiteater-pn.riseup.net [10.0.1.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 0558955664; Sat, 26 Apr 2014 15:58:54 -0700 (PDT) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: dfsr@fruiteater.riseup.net) with ESMTPSA id BDF7DE8C In-Reply-To: <20140426191909.3902016f@capac> (David Pirotte's message of "Sat, 26 Apr 2014 19:19:09 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Virus-Scanned: clamav-milter 0.98.1 at mx1 X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 198.252.153.129 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11229 Archived-At: >> I tried changing all to `#:init-value', but the result was the same. > > Imo, using your definitions, guile should return 'foo, not 42. IMO it should return 'bar, as `foo-a' should return the value of the slot `a', which in the subclass of is 'bar.