Fix to make things compilable: getElemFunctionAndThis returns Callable, not Function nowdays.

This commit is contained in:
igor%mir2.org 2005-08-01 13:48:32 +00:00
Родитель 6b16ef1ad2
Коммит c5deb378f3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1597,7 +1597,7 @@ class XMLList extends XMLObjectImpl implements Function
if(isApply || methodName.equals("call"))
return applyOrCall(isApply, cx, scope, thisObj, args);
Function method = ScriptRuntime.getElemFunctionAndThis(
Callable method = ScriptRuntime.getElemFunctionAndThis(
this, methodName, cx);
// Call lastStoredScriptable to clear stored thisObj
// but ignore the result as the method should use the supplied