[slime-devel] Re: Bug in compiler note location resolving

Lawrence Mitchell wence at gmx.li
Mon Mar 29 16:54:25 UTC 2004


Hannu Koivisto wrote:

[...]

> It seems that SLIME has read the docstring as several forms even
> though it really is just one form.  You can reproduce the problem
> by putting the following code to a file and then invoking
> slime-compile-and-load-file on it.

The same problem can be seen with the following, slightly more
minimal form:

(defun foo ()
  "\"foo\""
  (when *some-var* (do-some-thing))
  (let ((some-thing (some-fn)))))

with:  slime 2004-03-29 and SBCL 0.8.8.26

It appears that slime is over-eager in its quoting of backslashes
in some places, but strips them in others.  This may be a problem
with the specialised readtable used for
READ-AND-RECORD-SOURCE-MAP, although the above example works fine
in CMUCL.

-- 
Lawrence Mitchell <wence at gmx.li>





More information about the slime-devel mailing list