[Nice-commit] Nice/src/bossa/syntax methodContainer.nice,1.6,1.7
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-04-04 22:17:21
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20870/src/bossa/syntax Modified Files: methodContainer.nice Log Message: Fix bounded type variables used as class type parameters (reported by raboof). Index: methodContainer.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/methodContainer.nice,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** methodContainer.nice 4 Apr 2005 22:08:02 -0000 1.6 --- methodContainer.nice 4 Apr 2005 22:17:11 -0000 1.7 *************** *** 190,194 **** // The type parameter must be in fact a type constructor // of variance zero. ! return new mlsub.typing.MonotypeConstructor(cast(s), null); } --- 190,194 ---- // The type parameter must be in fact a type constructor // of variance zero. ! return sureMonotype(new mlsub.typing.MonotypeConstructor(cast(s), null)); } |