Dear List,
Nice work going on on the ABCL compiler. Thanks.
I have a file test1.lisp:
----- (in-package #:cl-user)
(macrolet ((%mac () '(+ 1 1))) (defun test () (%mac))) ----
Compiling it:
CL-USER(1): :cf test1.lisp ; Compiling test1.lisp ... ; (IN-PACKAGE #:CL-USER) ; (DEFUN TEST ...)
; Compilation unit finished ; The following functions were used but not defined: ; %MAC
I am not 100% sure, but I think the %MAC should be visible within TEST.
--- Martin.
Hi William,
Nice work going on on the ABCL compiler. Thanks.
I have a file test1.lisp:
(in-package #:cl-user)
(macrolet ((%mac () '(+ 1 1))) (defun test () (%mac)))
Compiling it:
CL-USER(1): :cf test1.lisp ; Compiling test1.lisp ... ; (IN-PACKAGE #:CL-USER) ; (DEFUN TEST ...)
; Compilation unit finished ; The following functions were used but not defined: ; %MAC
I am not 100% sure, but I think the %MAC should be visible within TEST.
You're absolutely correct. This is a bug. Just a minute ago I fixed exactly this bug on trunk.
BTW: Welcome to ABCL! If you don't mind me asking - I'm trying to get a feel for the types of users ABCL has: what do you use ABCL for?
Bye,
Erik.
armedbear-devel@common-lisp.net