[Nice-commit] Nice/src/bossa/modules Package.java,1.96,1.97
Brought to you by:
bonniot
From: <bo...@us...> - 2003-09-11 20:50:34
|
Update of /cvsroot/nice/Nice/src/bossa/modules In directory sc8-pr-cvs1:/tmp/cvs-serv27659/src/bossa/modules Modified Files: Package.java Log Message: Replaced functions by methods with a default implementation. Index: Package.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/modules/Package.java,v retrieving revision 1.96 retrieving revision 1.97 diff -C2 -d -r1.96 -r1.97 *** Package.java 8 Aug 2003 19:16:33 -0000 1.96 --- Package.java 11 Sep 2003 20:50:27 -0000 1.97 *************** *** 721,741 **** /** - @return an expression to call this method - if the package has not been recompiled. - */ - public gnu.expr.Expression lookupPackageMethod(ToplevelFunction fun) - { - Method res = lookupClassMethod(source.getBytecode(), - fun.getName().toString(), - "type", fun.getType().toString()); - if (res == null) - return null; - - return new gnu.expr.QuoteExp - (new gnu.expr.PrimProcedure - (res, fun.formalParameters().getParameterCopies())); - } - - /** @return the bytecode method with this (unique) name if the package has not been recompiled. --- 721,724 ---- |