GNU bug report logs -
#79789
simple loop fails to compile when last entry is a when clause that just does #t true
Previous Next
To reply to this bug, email your comments to 79789 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org:
bug#79789; Package
guile.
(Sat, 08 Nov 2025 15:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Terry Cadd <terry.cadd <at> gmail.com>:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org.
(Sat, 08 Nov 2025 15:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
hi all,
my first guile bug report ,
bug causes guile-3.0.10 to fail to compile the function
it can load it using (load "xxx") but (compile-file "xxx") causes bug
error stating : cannot find 45
the number follows changes every so often
if comment out line {when clause} its fine
sanity check with racket and stklos , they seem ok with it
;; GNU Guile 3.0.10
(define (find-elfs-goblins arr)
(let loopy ((y 1))
(when (<= y 2)
(let loopx ((x 1))
(when (<= x 3)
(display (list "x is " x " and y is " y))
(newline)
(loopx (+ x 1))))
(when (<= y 2) #t ) ;; << this line causes problem
(loopy (+ y 1)))))
This bug report was last modified 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.