Activity log for bug #327537

Date Who What changed Old value New value Message
2009-02-10 09:09:54 Tobias C. Rittweiler bug added bug
2009-02-10 09:11:41 Tobias C. Rittweiler description The following does not emit a compiler-note (deftype list-of-length (n &optional type) (if (zerop n) `null `(cons ,type (list-of-length ,(1- n))))) (declaim (ftype (function (t t) (list-of-length 2)) bar)) (defun bar (x y) (list x y)) (defun foo () (destructuring-bind (x y z) (bar 1 2) (list :x x :y y :z z))) The reason is lacking compiler-smartness for sb-int:proper-list-of-length-p. (When fixing this, the changset from 1.0.19.30 may have to be reconsidered.) The following does not emit a compiler-note (deftype list-of-length (n &optional type) (if (zerop n) `null `(cons ,type (list-of-length ,(1- n))))) (declaim (ftype (function (t t) (list-of-length 2)) bar)) (defun bar (x y) (list x y)) (defun foo () (destructuring-bind (x y z) (bar 1 2) (list :x x :y y :z z))) The reason is lacking compiler-smartness for sb-int:proper-list-of-length-p. (When fixing this, the changset from 1.0.19.30 may have to be reconsidered.)
2009-02-10 12:27:48 Nikodemus Siivola sbcl: status New Confirmed
2009-02-10 12:27:48 Nikodemus Siivola sbcl: importance Undecided Wishlist
2009-02-10 12:27:48 Nikodemus Siivola sbcl: statusexplanation
2009-02-10 12:28:06 Nikodemus Siivola title wished: DESTRUCTURING-BIND to signal note on arg-count-error at compile-time wanted: DESTRUCTURING-BIND to signal note on arg-count-error at compile-time
2009-05-08 14:18:34 Tobias C. Rittweiler sbcl: assignee Tobias C. Rittweiler (tcr)
2015-06-11 20:38:57 Douglas Katzman sbcl: assignee Tobias C. Rittweiler (tcr) Douglas Katzman (dougk)
2020-12-12 18:54:00 Douglas Katzman sbcl: status Confirmed Won't Fix