GNU bug report logs - #13865
redefinition of +

Previous Next

Package: guile;

Reported by: Ian Price <ianprice90 <at> googlemail.com>

Date: Mon, 4 Mar 2013 00:44:01 UTC

Severity: normal

Tags: notabug

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #18 received at 13865 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Ian Price <ianprice90 <at> googlemail.com>
Cc: 13865 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>,
	control <at> debbugs.gnu.org, ioliveira <at> id.uff.br
Subject: Re: bug#13865: redefinition of +
Date: Thu, 07 Mar 2013 22:39:05 +0100
On Mon 04 Mar 2013 15:24, Ian Price <ianprice90 <at> googlemail.com> writes:

> Er, screw the repl, but it happens in a script as well.
>
> (define (foo) (+ 1 1))
> (define (+ a b) (- a b))
> (display (foo))
> (display (+ 1 1))
> (newline)
>
> $ guile -s /tmp/file1.scm
> ;;; note: source file /tmp/file1.scm
> ;;;       newer than compiled /home/ian/.cache/guile/ccache/2.2-LE-4-3.1/tmp/file1.scm.go
> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;;       or pass the --no-auto-compile argument to disable.
> ;;; compiling /tmp/file1.scm
> ;;; compiled /home/ian/.cache/guile/ccache/2.2-LE-4-3.1/tmp/file1.scm.go
> 22

I see you are on master.  Is this a problem only in master?

    $ ~/src/guile-master/meta/guile /tmp/foo.scm 
    ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
    ;;;       or pass the --no-auto-compile argument to disable.
    ;;; compiling /tmp/foo.scm
    ;;; compiled /home/wingo/src/guile-master/cache/guile/ccache/2.2-LE-8-3.1/tmp/foo.scm.go
    22
    $ ~/src/guile/meta/guile /tmp/foo.scm 
    ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
    ;;;       or pass the --no-auto-compile argument to disable.
    ;;; compiling /tmp/foo.scm
    ;;; compiled /home/wingo/src/guile/cache/guile/ccache/2.0-LE-8-2.0/tmp/foo.scm.go
    00

Andy
-- 
http://wingolog.org/




This bug report was last modified 12 years and 139 days ago.

Previous Next


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