[nem-bug] [Nemerle 0000586]: Wrong number of type parameters to `Foo'

feedback at nemerle.org feedback at nemerle.org
Thu Jan 26 18:11:35 CET 2006


The following issue has been CLOSED
======================================================================
<http://nemerle.org/bugs/view.php?id=586> 
======================================================================
Reported By:                d
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   586
Category:                   Compiler (type engine)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 not an issue
Fixed in Version:           
======================================================================
Date Submitted:             12-10-2005 17:05 CET
Last Modified:              01-26-2006 18:11 CET
======================================================================
Summary:                    Wrong number of type parameters to `Foo'
Description: 
variant Foo ['a] {
  | Cons { arg : 'a }

  /* error: wrong number of type parameters to `Foo' */
  public Bar () : Foo {          
    this
  }
}
======================================================================

----------------------------------------------------------------------
 malekith - 12-21-05 12:29 
----------------------------------------------------------------------
Ok, we all agreed using 'this' instead of 'Foo' for types will be better.
We also have this type aliases, that can help here. So I'm closing this
one.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-10-05 17:05 d              New Issue                                    
12-21-05 12:29 malekith       Status                   new => resolved     
12-21-05 12:29 malekith       Resolution               open => not an issue
12-21-05 12:29 malekith       Assigned To               => malekith        
12-21-05 12:29 malekith       Note Added: 0001051                          
12-21-05 12:29 malekith       Summary                  Wrong number of type
parameters to `Foo' => Wrong number of type parameters to `Foo\'
12-21-05 12:29 malekith       Description Updated                          
01-26-06 18:11 nazgul         Status                   resolved => closed  
======================================================================




More information about the bugs mailing list