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: implicitly using existing function as generic fails in 1.9 Date: Mon, 23 May 2011 22:42:15 +0200 Message-ID: References: <1296655370.19670.270.camel@vuurvlieg> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1306183351 4322 80.91.229.12 (23 May 2011 20:42:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 20:42:31 +0000 (UTC) Cc: guile-devel To: Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon May 23 22:42:27 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QObxL-0005q1-CU for guile-devel@m.gmane.org; Mon, 23 May 2011 22:42:27 +0200 Original-Received: from localhost ([::1]:60228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QObxK-0005UG-Uj for guile-devel@m.gmane.org; Mon, 23 May 2011 16:42:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QObxH-0005Tt-UE for guile-devel@gnu.org; Mon, 23 May 2011 16:42:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QObxG-0002GK-C2 for guile-devel@gnu.org; Mon, 23 May 2011 16:42:23 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:48221 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QObxG-0002GE-6p for guile-devel@gnu.org; Mon, 23 May 2011 16:42:22 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 037E057CF; Mon, 23 May 2011 16:44:30 -0400 (EDT) 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=wPYAliEtevVelDlazEgdcXy2s+s=; b=mle2be fgK0WBofZCs/+NP128a4v3+6TTCBeSh8MXLEuf6qfMgWFEjvJnGYV/0gEW5Gqq6m bOqLVi+W73Ajgd1QWiQ4yOccRPLvN13znU2Z1c4w34FFW56RxPOVjtWdkXknDIP7 CoRE1S+5yWnHryHvjWOhgH1d+Kqiws52tIkaQ= 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=gjKoReKgxT6lJEZCB0BDcEhFbDDIdEK9 i0GeLN1Zv9MfI2Z+RNQzCfLWMuAIQmEbcK86Ei4vuCavJWQ589ma50WWCV7/Vj61 TIaewepqggqeWSHlTPTJO1m7ocv8cmUQt2TGzVJCCXoBeOXb0WOQg68bGwuRev8C Eq54Ton8Qq8= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E0E8057CE; Mon, 23 May 2011 16:44:28 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 0035557CD; Mon, 23 May 2011 16:44:26 -0400 (EDT) In-Reply-To: <1296655370.19670.270.camel@vuurvlieg> (Jan Nieuwenhuizen's message of "Wed, 02 Feb 2011 15:02:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 74310E44-857D-11E0-BA0C-D6B6226F3D4C-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:12527 Archived-At: On Wed 02 Feb 2011 15:02, Jan Nieuwenhuizen writes: > Hi, > > See attached code, run using > > ./run.scm > > 1.8 says: > > 14:58:59 janneke@vuurvlieg:~/vc/schikkers-list/remove > $ ./run.scm > WARNING: (use): `remove!' imported from both (srfi srfi-1) and (remove) > : remove! > > 1.9.14 says: > > 14:58:36 janneke@vuurvlieg:~/vc/schikkers-list/remove > $ rm -rf ~/.cache/guile/ > 14:59:10 janneke@vuurvlieg:~/vc/schikkers-list/remove > $ ./run.scm > ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 > ;;; or pass the --no-autocompile argument to disable. > ;;; compiling ./run.scm > ;;; compiling /home/janneke/vc/schikkers-list/remove/use.scm > ;;; compiling /home/janneke/vc/schikkers-list/remove/remove.scm > ;;; compiled /home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/remove/remove.scm.go > WARNING: (use): `remove!' imported from both (remove) and (srfi srfi-1) > ;;; compiled /home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/remove/use.scm.go > ;;; compiled /home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/remove/run.scm.go > WARNING: (use): `remove!' imported from both (remove) and (srfi srfi-1) > WARNING: (use): `remove!' imported from both (srfi srfi-1) and (remove) > WARNING: (use): `remove!' imported from both (remove) and (srfi srfi-1) > Backtrace: > In module/ice-9/boot-9.scm: > 170: 9 [catch #t # ...] > In unknown file: > ?: 8 [catch-closure] > In module/ice-9/boot-9.scm: > 62: 7 [call-with-prompt prompt0 ...] > In module/ice-9/eval.scm: > 389: 6 [eval # #] > In module/ice-9/boot-9.scm: > 1864: 5 [save-module-excursion #] > 1172: 4 [load "./run.scm" #f] > In unknown file: > ?: 3 [load-compiled/vm "/home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/remove/run.scm.go"] > ?: 2 [remove! #< 8b36380>] > In module/ice-9/boot-9.scm: > 115: 1 [# wrong-number-of-args ...] > In unknown file: > ?: 0 [catch-closure wrong-number-of-args #f ...] > > ERROR: In procedure catch-closure: > ERROR: Wrong number of arguments to # Happily this is the same bug I fixed a couple days ago. $ /opt/guile/env ./run.scm ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /tmp/remove/run.scm ;;; compiling /tmp/remove/use.scm ;;; compiling /tmp/remove/remove.scm ;;; compiled /home/wingo/.cache/guile/ccache/2.0-LE-8-2.0/tmp/remove/remove.scm.go WARNING: (use): `remove!' imported from both (srfi srfi-1) and (remove) ;;; compiled /home/wingo/.cache/guile/ccache/2.0-LE-8-2.0/tmp/remove/use.scm.go ;;; compiled /home/wingo/.cache/guile/ccache/2.0-LE-8-2.0/tmp/remove/run.scm.go WARNING: (use): `remove!' imported from both (srfi srfi-1) and (remove) : remove! Cheers, Andy -- http://wingolog.org/