[nem-bug] [Nemerle 0000777]: internal compiler error on recursion with ref parameters

feedback at nemerle.org feedback at nemerle.org
Wed Oct 18 20:44:39 CEST 2006


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=777> 
======================================================================
Reported By:                vgough
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   777
Category:                   Compiler (type engine)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             10-16-2006 06:14 CEST
Last Modified:              10-18-2006 20:44 CEST
======================================================================
Summary:                    internal compiler error on recursion with ref
parameters
Description: 
A recursive function with a ref parameter causes an internal compiler
error, confirmed with SVN snapshot from 2006-10-15.

Sample code:

public class Test
{
    public Recur( n : int, foo : ref long ) : long
    {
        if(foo == 0)
            1L;
        else
            Recur(n-1, ref foo);
    }
}

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

----------------------------------------------------------------------
 malekith - 10-18-06 20:44 
----------------------------------------------------------------------
Resolved on trunk, r6768

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-16-06 06:14 vgough         New Issue                                    
10-18-06 20:44 malekith       Status                   new => resolved     
10-18-06 20:44 malekith       Resolution               open => fixed       
10-18-06 20:44 malekith       Assigned To               => malekith        
10-18-06 20:44 malekith       Note Added: 0001485                          
======================================================================




More information about the bugs mailing list