[Nice-commit] Nice/src/bossa/syntax methodContainer.nice,1.5,1.6
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-04-04 22:08:14
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18461/src/bossa/syntax Modified Files: methodContainer.nice Log Message: Whitespace cleanup. Index: methodContainer.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/methodContainer.nice,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** methodContainer.nice 6 Mar 2005 01:34:26 -0000 1.5 --- methodContainer.nice 4 Apr 2005 22:08:02 -0000 1.6 *************** *** 18,22 **** An entity in which methods can be declared. ! It can have type parameters, that are implicitely added to the englobed methods. --- 18,22 ---- An entity in which methods can be declared. ! It can have type parameters, that are implicitely added to the englobed methods. *************** *** 49,53 **** { TypeScope scope = new TypeScope(this.typeScope); ! try { scope.addSymbols(notNull(classConstraint).getBinders()); } --- 49,53 ---- { TypeScope scope = new TypeScope(this.typeScope); ! try { scope.addSymbols(notNull(classConstraint).getBinders()); } *************** *** 87,91 **** /** Children should call this implementation (super) then print ! their specific information. */ printInterface(s) --- 87,91 ---- /** Children should call this implementation (super) then print ! their specific information. */ printInterface(s) *************** *** 109,113 **** { let vari = notNull(variance).getVariance(n); ! if (vari == mlsub.typing.Variance.CONTRAVARIANT) res.append("-"); else if (vari == mlsub.typing.Variance.COVARIANT) --- 109,113 ---- { let vari = notNull(variance).getVariance(n); ! if (vari == mlsub.typing.Variance.CONTRAVARIANT) res.append("-"); else if (vari == mlsub.typing.Variance.COVARIANT) *************** *** 145,151 **** @param cst an additional constraint for the type parameters of this class. */ ! public ClassConstraint createClassConstraint(?Constraint cst, ! mlsub.typing.MonotypeVar[] typeParameters, List<AtomicConstraint> atoms, ! Location loc) { mlsub.typing.TypeSymbol[] binders; --- 145,152 ---- @param cst an additional constraint for the type parameters of this class. */ ! public ClassConstraint createClassConstraint ! (?Constraint cst, ! mlsub.typing.MonotypeVar[] typeParameters, List<AtomicConstraint> atoms, ! Location loc) { mlsub.typing.TypeSymbol[] binders; *************** *** 153,157 **** boolean resolve; ! if (cst == trueConstraint || cst == null) { binders = cast(typeParameters); --- 154,158 ---- boolean resolve; ! if (cst == trueConstraint || cst == null) { binders = cast(typeParameters); |