bug#56493: Source locations are broken when byte-compiling

Jean Abou Samra <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <[email protected]>
In Guile 3.0.8, compilation warnings when byte-compiling print 
<unknown-location>.

$ ./libguile/guile test.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /.../test.scm
;;; <unknown-location>: warning: possibly unbound variable 
`unbound-variable'
;;; compiled /home/jean/.cache/guile/ccache/3.0-LE-8-4.6/.../test.scm.go
Backtrace:
[snipped]


This was OK in 3.0.7.

This problem was originally reported at

https://lists.gnu.org/archive/html/guile-devel/2022-03/msg00017.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.