conditional :INITIAL-CONTENTS in MAKE-ARRAY fails to compile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
High
|
Unassigned |
Bug Description
[SBCL 1.0.34 on OS X 10.5 PPC]
The following function works in clisp and openmcl, but not sbcl:
(defun foo (&key toff)
gives the compilation error below.
However, foo2 compiles OK:
(defun foo2 (&key toff)
=======
error when compiling foo:
The value
(#<sb-
#<sb-
is not of type
(and atom (not null)).
[Condition of type type-error]
Backtrace:
0: (sb-c::lvar-matches #<sb-c::lvar 1 {13A612B1}
1: (sb-c::
-c::combination :fun # :args (# # # # #) {13A60F19}>)
2: ((lambda (sb-c:call)) #<sb-c::combination :fun # :args (# # # # #) {13A60F19}>)
3: (sb-c::
> :note "optimize" :important nil>)
4: (sb-c::
5: (sb-c::
6: (sb-c::ir1-optimize #<sb-c:component :name "lambda nil" :reanalyze t {13A719D1}> nil)
7: (sb-c::
8: (sb-c::ir1-phases #<sb-c:component :name "lambda nil" :reanalyze t {13A719D1}>)
9: (sb-c::
10: (sb-c::%compile ..)[:external]
Changed in sbcl: | |
status: | Confirmed → In Progress |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Confirmed on CVS-ish SBCL on x86-64.