Nice/src/bossa/syntax methodContainer.nice,1.6,1.7

Daniel Bonniot <[email protected]> Mon, 04 Apr 2005 22:17:15 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
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));
                }
  



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click