Declare types for sb-kernel:coerce-to-condition.
authorStas Boukarev <stassats@gmail.com>
Mon, 16 Jul 2012 20:34:43 +0000 (00:34 +0400)
committerStas Boukarev <stassats@gmail.com>
Mon, 16 Jul 2012 20:34:43 +0000 (00:34 +0400)
commit7acdf15e27993655c9249f79d36fe2117843dbdf
tree7df2a34fec7e0dc605bf27fffb4065b112efe9c3
parent2273f3a907d7465dc06864132737a52575a8cd4a
Declare types for sb-kernel:coerce-to-condition.

Add
(defknown coerce-to-condition ((or condition symbol string function)
                               list type-specifier symbol)
    condition
    (explicit-check))
Which helps to remove optimization notes in some cases with
restart-case.

Fixes lp#1025416.
src/code/error.lisp
src/compiler/fndb.lisp