[slime-devel] compile-file-if-needed fails if fasl already exists (Clozure)

Stas Boukarev stassats at gmail.com
Tue Nov 3 14:34:13 UTC 2009


Derrell Piper <ddp at electric-loft.org> writes:

> If I try to compile and load a file that's already compiled in  
> Clozure, say doing this twice:
>
>    (swank:compile-file-if-needed "/Users/ddp/src/lisp/test.lisp" t)
>
> On the second time around, swank signals an error in swank:collect- 
> notes because Clozure returns a pathname of the fasl file instead of  
> T.  Clozure's behavior seems rational.  So since the underlying  
> defstruct specifies :type boolean for successp, here's how I fixed this:
Thanks, fixed in CVS.

-- 
With best regards, Stas.




More information about the slime-devel mailing list