[nem-bug] [Nemerle 0000785]: Incorrect treatise 'new' keyword (it bug block compilin of compiler)

feedback at nemerle.org feedback at nemerle.org
Sat Nov 11 15:00:47 CET 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=785> 
======================================================================
Reported By:                VladD2
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   785
Category:                   Compiler
Reproducibility:            always
Severity:                   block
Priority:                   immediate
Status:                     new
======================================================================
Date Submitted:             11-11-2006 15:00 CET
Last Modified:              11-11-2006 15:00 CET
======================================================================
Summary:                    Incorrect treatise 'new' keyword (it bug block
compilin of compiler)
Description: 
class A
{
  public Test() : bool { true }
}

class B : A
{
  public new Test() : void { }
}

B().Test();
=========================================================================
Main.n(8,3,8,31): error : attempted return type overload on method
B.Test() : void and method A.Test() : bool


Also try compile the compiler by new version of ncc. Method:
public new Remove (key : 'a) : void
in Hashtable['a,'b] will not be compiled.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-11-06 15:00 VladD2         New Issue                                    
======================================================================




More information about the bugs mailing list