[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are source locations broken?
From: |
Maxime Devos |
Subject: |
Re: Are source locations broken? |
Date: |
Fri, 25 Mar 2022 21:22:36 +0100 |
User-agent: |
Evolution 3.38.3-1 |
Jean Abou Samra schreef op vr 25-03-2022 om 21:11 [+0100]:
> Please have a look at:
>
> $ ./libguile/guile test.scm
> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;; or pass the --no-auto-compile argument to disable.
> ;;; compiling /home/jean/Bureau/ENS-1A/dm_anac/test.scm
> ;;; <unknown-location>: warning: possibly unbound variable
> `unbound-variable'
> ;;; compiled
> /home/jean/.cache/guile/ccache/3.0-LE-8-4.6/home/jean/Bureau/ENS-1A/dm_anac/test.scm.go
>
>
> Backtrace:
> [snipped]
>
>
> Note the <unknown-location>. In LilyPond, I suddenly lost
> all locations for compilation warnings when upgrading from
> Guile 3.0.5 to 3.0.8. The above is with the main branch.
Here's a minimal reproducer:
$ cat trtr.scm:
> foo
$ guild compile trtr.scm
> <unknown-location>: warning: possibly unbound variable `foo'
> wrote `$HOME/.cache/guile/ccache/3.0-LE-8-4.6/$HOME/trtr.scm.go'
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part