[nem-bug] [Nemerle 0000495]: wrong overload selected when poly/non-poly versions are availble

feedback at nemerle.org feedback at nemerle.org
Fri Jan 26 19:00:37 CET 2007


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=495> 
======================================================================
Reported By:                malekith
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   495
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     confirmed
======================================================================
Date Submitted:             07-13-2005 13:20 CEST
Last Modified:              01-26-2007 19:00 CET
======================================================================
Summary:                    wrong overload selected when poly/non-poly versions
are availble
Description: 
see positive/overloading.n, FIXME
======================================================================

----------------------------------------------------------------------
 nazgul - 01-26-07 19:00 
----------------------------------------------------------------------
public module Program
{
 Main() : void
 {
   def f = Foo; // error : typing fails on ambiguity between overloads
   _ = f(1)
 }

 public Foo[T](_ : T) : void { }
 public Foo(_ : int)  : void { }
}

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-13-05 13:20 malekith       New Issue                                    
10-03-05 19:34 nazgul         Status                   new => confirmed    
01-26-07 19:00 nazgul         Note Added: 0001642                          
======================================================================




More information about the bugs mailing list