Nice/src/mlsub/typing UnknownMonotype.java,1.2,1.3

Daniel Bonniot <[email protected]> Wed, 25 May 2005 11:52:32 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/src/mlsub/typing
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18588/src/mlsub/typing

Modified Files:
	UnknownMonotype.java 
Log Message:
Consistently use '?' to represent the wildcard (unknown monotype).

Only accept it in the parser as a type parameter (Object can as well be used
to mean "any monotype").


Index: UnknownMonotype.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/mlsub/typing/UnknownMonotype.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** UnknownMonotype.java	28 Nov 2004 14:00:23 -0000	1.2
--- UnknownMonotype.java	25 May 2005 11:52:30 -0000	1.3
***************
*** 38,42 ****
    void tag(int variance) {}
  
!   public String toString() { return "unknown"; }
  
    /****************************************************************
--- 38,42 ----
    void tag(int variance) {}
  
!   public String toString() { return "?"; }
  
    /****************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005