Activity log for bug #310287

Date Who What changed Old value New value Message
2008-12-21 18:49:11 Tobias C. Rittweiler bug added bug
2008-12-21 19:19:39 Nikodemus Siivola sbcl: status New Confirmed
2008-12-21 19:19:39 Nikodemus Siivola sbcl: importance Undecided Low
2008-12-21 19:19:39 Nikodemus Siivola sbcl: statusexplanation
2008-12-21 19:21:24 Nikodemus Siivola description * The docstring of SB-EXT:DESCRIBE-COMPILER-POLICY should be updated with an example of what the SPEC argument can be used for. * It should additionally take an environment as a second &optional parameter, so you can do (defun foo (x) (declare (optimize speed)) (macrolet ((print-policy (&environment env) (sb-ext:describe-compiler-policy nil env))) (print-policy)) ...) At the moment you can get that behaviour approximated by using (print (sb-cltl2:declaration-information 'optimize env)) * The docstring of SB-EXT:DESCRIBE-COMPILER-POLICY should be updated with an example of what the SPEC argument can be used for. * It should additionally take an environment as a second &optional parameter, so you can do (defun foo (x) (declare (optimize speed)) (macrolet ((print-policy (&environment env) (sb-ext:describe-compiler-policy nil env))) (print-policy)) ...) At the moment you can get that behaviour approximated by using (print (sb-cltl2:declaration-information 'optimize env))
2009-01-17 19:47:09 Tobias C. Rittweiler sbcl: assignee tcr
2009-01-18 15:48:08 Tobias C. Rittweiler bug added attachment 'describe-compiler-policy.diff' (describe-compiler-policy.diff)