X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcross-condition.lisp;h=cd8580c7dd9deba8fcc1fad062f96f72650f171d;hb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;hp=e74fc3c2f4c55f38d2236a20e0d42ace68ab91af;hpb=1f0efb731e8427080690f8ecaf9a56fc287a9d88;p=sbcl.git diff --git a/src/code/cross-condition.lisp b/src/code/cross-condition.lisp index e74fc3c..cd8580c 100644 --- a/src/code/cross-condition.lisp +++ b/src/code/cross-condition.lisp @@ -31,22 +31,31 @@ (define-condition reference-condition () ((references :initarg :references :reader reference-condition-references))) +;;; KLUDGE: yet another OAOOM. +;;; +;;; FIXME: This is clearly one OAOOM KLUDGE too many in a row. When tempted +;;; to add another one invent DEF!CONDITION or whatever seems necessary, +;;; and replace these. +(define-condition type-warning (reference-condition simple-warning) + () + (:default-initargs :references (list '(:sbcl :node "Handling of Types")))) + (define-condition bug (simple-error) () (:report (lambda (condition stream) (format stream - "~@< ~? ~:@_~?~:>" - (simple-condition-format-control condition) - (simple-condition-format-arguments condition) - "~@" + (simple-condition-format-control condition) + (simple-condition-format-arguments condition) + "~@.~:@>" - ())))) + ())))) ;;; These are should never be instantiated before the real definitions ;;; come in.