Method Euphoria Error
- Posted by Michael Nelson <mikestar13 at sbcglobal.net> Aug 10, 2005
- 487 views
--0-1021830745-1123698665=:16832 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit The most recent release of Method Euphoria inadventently included a wrong copy of the file method_euphoria.e which induces bugs in several areas, though the fix is confined to a single internal function. I will upload a correction tonight. Please do not download Method Euphoria until the correction is posted. If you have installed the latest ME version and need to get things working before then, you can replace valid_class() with this code:
function valid_class(object x,integer ct) integer super if not class_entity(x) then x=resolve_name(x,FALSE) if x!=NIL then x&=CLASS_TAIL else return NIL end if end if if ct=0 then return x end if super=SuperclassList[x[1]][$] if super=ct then return x else return NIL end if end function
Mike Nelson --0-1021830745-1123698665=:16832 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <DIV> <DIV>The most recent release of Method Euphoria inadventently included a wrong copy of the file method_euphoria.e which induces bugs in several areas, though the fix is confined to a single internal function. I will upload a correction tonight. Please do not download Method Euphoria until the correction is posted. If you have installed the latest ME version and need to get things working before then, you can replace valid_class() with this code:</DIV> <DIV> </DIV> <DIV><eucode></DIV> <DIV>function valid_class(object x,integer ct)<BR> integer super<BR> if not class_entity(x) then<BR> x=resolve_name(x,FALSE)<BR> if x!=NIL then<BR> x&=CLASS_TAIL<BR> else<BR> return NIL<BR> end if <BR> end if <BR> if ct=0 then return x end if <BR> super=SuperclassList[x[1]][$] <BR> if super=ct then<BR> return x<BR> else <BR> return NIL<BR> end if <BR>end function </DIV> <DIV></eucode></DIV> <DIV> </DIV> <DIV>Mike Nelson</DIV></DIV> --0-1021830745-1123698665=:16832--