GNU bug report logs -
#18646
procedure-name fails for inner procedures with primitive-eval
Previous Next
Reported by: Marko Rauhamaa <marko <at> pacujo.net>
Date: Mon, 6 Oct 2014 19:08:01 UTC
Severity: normal
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Consider this program (guile-2.0.11 under Fedora 20):
===begin test.scm=======================================================
(define (hello) #f)
(format #t "~S\n" (procedure-name hello))
(define (xyz)
(define (hello) #f)
(format #t "~S\n" (procedure-name hello)))
(xyz)
===end test.scm=========================================================
If I run:
$ guile --no-auto-compile test.scm
hello
#f
$ guile --no-auto-compile test.scm
hello
#f
$ guile test.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
[...]
hello
hello
$ guile test.scm
hello
hello
$ guile --no-auto-compile test.scm
hello
hello
Marko
This bug report was last modified 9 years and 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.