failed AVER: (NOT (SB-C::FUNCTIONAL-HAS-EXTERNAL-REFERENCES-P SB-C::CLAMBDA))
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(lambda (e x)
(let (r)
(dolist (u e r)
(let ((c (some #'f (unless x (push u r)))))
(unless c (push u r))
))))
===>
failed AVER:
(NOT
(SB-
[...]
0: (SB-INT:BUG "~@<failed AVER: ~2I~_~S~:>" (NOT (SB-C::
1: (SB-IMPL:
2: (SB-C::
3: (SB-C::DELETE-BLOCK #<SB-C::CBLOCK 41 :START c1 {1004CEFC23}> NIL)
4: (SB-C::
5: (SB-C::IR1-OPTIMIZE #<SB-C:COMPONENT :NAME (SB-C::XEP (FLET "WRAPPER4" :IN #:BLOCK3)) :REANALYZE T {1004CF2513}> NIL)
[...]
tags: | added: ir-copy |
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
status: | Fix Committed → Fix Released |
Another simple example with the same error message. The "present?" variable x is given a bad type declaration.
(lambda ()
(lambda (&optional (a 1 x))
(declare (type integer x))))