[armedbear-devel] Bug in reader case handling
Blake McBride
blake at arahant.com
Mon Dec 12 16:42:41 UTC 2011
Greetings,
Given a file name ff.lisp containing the following:
(setf (readtable-case *readtable*) :invert)
(defpackage "abc"
(:use "COMMON-LISP")
(:export "MYFUN"))
(in-package "abc")
(defun myfun (a b)
(+ a b))
; EOF
Then try:
(use-package "abc")
(myfun 4 5)
(abc:myfun 4 5) ; this should not work
(ABC:myfun 4 5) ; this should work
This works as described in sbcl, cmucl, clisp and ecl but doesn't work
in abcl. It seams abcl takes into account the case of the entire
"ABCL:myfun" when dealing with case. All the other lisps treat "ABC"
and "myfun" separately in terms of string case.
Blake McBride
More information about the armedbear-devel
mailing list