<div dir="ltr">Hello:<div><br></div><div style>As it stands, SLIME will error when it encounters compiler notes generated by LispWorks 6 :EXPLAIN functionality. For example:</div><div style><br></div><div style><div><div>(defun dist (x y)</div>
<div> (declare (:explain :variables))</div><div> (sqrt (+ (* x x) (* y y))))</div></div><div><br></div><div style>will error with</div><div><br></div><div><div>#<CONDITIONS:COMPILER-NOTE 402026DC23> fell through ETYPECASE expression.</div>
<div>Wanted one of (ERROR STYLE-WARNING WARNING).</div><div> [Condition of type CONDITIONS:CASE-FAILURE]</div></div></div><div style><br></div><div style>As a patch, add the two lines prefixed by a + to the function LISPWORKS-SEVERITY in the file "swank-lispworks.lisp" indicated at the end of this mail.</div>
<div style><br></div><div style>Thanks,</div><div style><br></div><div style>Robert</div><div style><br></div><div style><br></div><div style>PATCH FOR "swank-lispworks.lisp":</div><div style><br></div><div style>
<div> (defun lispworks-severity (condition)</div><div> (cond ((not condition) :warning)</div><div> (t (etypecase condition</div><div>+ #+lispworks6</div><div>+ (conditions:compiler-note :note)</div>
<div> (error :error)</div><div> (style-warning :warning)</div><div> (warning :warning)))))</div></div></div>