[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MCL bug?



At  3:38 PM 2/7/94 +0000, Josep Puyol wrote:
>Dear MCL members,
>
>We have detected a bug (?) in the MCL compiler. Look at the next code:
>
>(defun make-object ()
>  (labels
>    ((method1-fun () 'method1)
>     (dispatch ()
>       #'method1-fun))
>    #'dispatch))
>
>Please notice that the funcall returns NIL.
>
>? (setq o1 (make-object))
>#<COMPILED-LEXICAL-CLOSURE DISPATCH #x11DC76E>
>? (funcall o1)
>NIL
>[...]

This bug was fixed by the second patch for MCL 2.0 ("mcl2.0p2.fasl").
I suggest that you upgrade to MCL 2.0.1 by getting the file
"2.0->2.0.1.sea.hqx" available for anonymous FTP from cambridge.apple.com
in the directory "/pub/mcl2/contrib/".