bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13865: redefinition of +


From: Andy Wingo
Subject: bug#13865: redefinition of +
Date: Thu, 07 Mar 2013 22:39:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

On Mon 04 Mar 2013 15:24, Ian Price <address@hidden> 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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]