[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MCL bug?
- To: Josep Puyol <puyol@ceab.es>
- Subject: Re: MCL bug?
- From: bill@cambridge.apple.com (Bill St. Clair)
- Date: Tue, 8 Feb 1994 10:24:22 -0600
- Cc: info-mcl
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/".