Thanks for reporting the bug, Pascal. It will be fixed in git/CVS today.<div><br></div><div>Juanjo<br><br><div class="gmail_quote">On Sat, Feb 25, 2012 at 9:02 PM, Pascal Costanza <span dir="ltr"><<a href="mailto:pc@p-cos.net">pc@p-cos.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Consider the following test case:<br>
<br>
(defclass c () ())<br>
(defclass d (c) ())<br>
<br>
(defgeneric test (obj))<br>
<br>
(defmethod test ((obj c)) 42)<br>
<br>
(defmethod test ((obj d))<br>
(flet ((do-it ()<br>
(let ((next-value (call-next-method)))<br>
next-value)))<br>
(lambda () (do-it))))<br>
<br>
<br>
> (test (make-instance 'd))<br>
<br>
#<bytecompiled-closure #<bytecompiled-function 000000010db4d280>><br>
> (funcall *)<br>
<br>
Condition of type: SIMPLE-ERROR<br>
No next method.<br>
<br>
Available restarts:<br>
<br>
1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.<br>
<br>
<br>
Similar code worked before in 11.1.1. (Instead of the error, the last funcall should return 42.)<br>
<br>
<br>
Best,<br>
Pascal<br>
<br>
--<br>
Pascal Costanza<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Virtualization & Cloud Management Using Capacity Planning<br>
Cloud computing makes use of virtualization - but cloud computing<br>
also focuses on allowing computing to be delivered as a service.<br>
<a href="http://www.accelacomm.com/jaw/sfnl/114/51521223/" target="_blank">http://www.accelacomm.com/jaw/sfnl/114/51521223/</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>