[nem-bug] [Nemerle 0000630]: Implicit conversions doesn't work for generic parameter

feedback at nemerle.org feedback at nemerle.org
Tue Mar 7 22:31:16 CET 2006


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=630> 
======================================================================
Reported By:                nazgul
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   630
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
======================================================================
Date Submitted:             02-27-2006 18:57 CET
Last Modified:              03-07-2006 22:31 CET
======================================================================
Summary:                    Implicit conversions doesn't work for generic
parameter
Description: 

class C [T] {
  public static @: (x : T) : C[T] {
    C()
  }
}

class B {}

class Implicit
{
  public static Main() : void
  {
     def x = B() : C[B];
     Nemerle.IO.print("$x\n");
  }
}

======================================================================

----------------------------------------------------------------------
 nazgul - 03-07-06 22:31 
----------------------------------------------------------------------
Partial patch to make this work. It still needs fetching proper methods,
but I don't feel like being able to implement it at the moment...

Issue History
Date Modified  Username       Field                    Change              
======================================================================
02-27-06 18:57 nazgul         New Issue                                    
03-07-06 22:29 nazgul         Status                   new => confirmed    
03-07-06 22:29 nazgul         Summary                  Implicit conversions
doesn't work for generic parameter => Implicit conversions doesn\'t work for
generic parameter
03-07-06 22:29 nazgul         Description Updated                          
03-07-06 22:29 nazgul         File Added: t_implicit.patch                    
03-07-06 22:31 nazgul         Note Added: 0001120                          
======================================================================




More information about the bugs mailing list