In SB-GROVEL-UNKNOWN-CONSTANT-CONDITION-P: format control doesn't need to be a string

Bug #1803728 reported by Paul F. Dietz on 2018-11-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

This code in lisp-build.lisp:

    (defun sb-grovel-unknown-constant-condition-p (c)
      "Detect SB-GROVEL unknown-constant conditions on older versions of SBCL"
      (and (typep c 'sb-int:simple-style-warning)
            "Couldn't grovel for "
            (simple-condition-format-control c)
            " (unknown to the C compiler).")))
    (deftype sb-grovel-unknown-constant-condition ()
      '(and style-warning (satisfies sb-grovel-unknown-constant-condition-p))))

is causing me a problem. If the function is called on a condition in which the format-control slot is a function, not a string, it fails.

Also in sbcl launchpad.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers