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

feedback at nemerle.org feedback at nemerle.org
Mon Oct 16 06:14:22 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=777> 
======================================================================
Reported By:                vgough
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   777
Category:                   Compiler (type engine)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             10-16-2006 06:14 CEST
Last Modified:              10-16-2006 06:14 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);
    }
}

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

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-16-06 06:14 vgough         New Issue                                    
======================================================================




More information about the bugs mailing list