[Nice-commit] Nice/src/bossa/syntax MethodImplementation.java,1.7,1.8
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-09-14 16:11:57
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22522/src/bossa/syntax Modified Files: MethodImplementation.java Log Message: Cleanup. Index: MethodImplementation.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/MethodImplementation.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** MethodImplementation.java 7 Aug 2004 14:20:29 -0000 1.7 --- MethodImplementation.java 14 Sep 2004 16:11:46 -0000 1.8 *************** *** 96,100 **** parameters = res; } ! /** Where no patterns are present, add those corresponding to the method declaration. --- 96,100 ---- parameters = res; } ! /** Where no patterns are present, add those corresponding to the method declaration. *************** *** 103,113 **** { Monotype[] parameters = Types.parameters(declaration.getType()); ! for (int i = 0; i < formals.length; i++) if (formals[i].tc == null) formals[i] = bossa.syntax.dispatch.createPattern(formals[i].name, Types.concreteConstructor(parameters[i]), Types.isSure(parameters[i])); - - } --- 103,111 ---- { Monotype[] parameters = Types.parameters(declaration.getType()); ! for (int i = 0; i < formals.length; i++) if (formals[i].tc == null) formals[i] = bossa.syntax.dispatch.createPattern(formals[i].name, Types.concreteConstructor(parameters[i]), Types.isSure(parameters[i])); } |