[ nice-Bugs-1070054 ] Nice allows multiple inequal retypings of a java method

"SourceForge.net" <[email protected]> Sat, 20 Nov 2004 08:05:23 -0800
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1070054, was opened at 2004-11-20 08:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1070054&group_id=12788

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Luc Perrin (leblin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Nice allows multiple inequal retypings of a java method

Initial Comment:
Java:

public class A {
    int getN( ) { return 0; }
}

Nice:

int getN(A) = native int A.getN();
boolean getN(A) = native int A.getN();


Nice will compile this code quietly.




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1070054&group_id=12788


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8