[nem-en] Bug 777

Valient Gough valient at gmail.com
Mon Oct 16 06:22:30 CEST 2006


I just reported a bug (http://nemerle.org/bugs/view.php?id=777) with in
Typer:
error: internal compiler error: assertion ``parm.kind == ParmKind.Normal''
failed in file generation/Typer3.n, line 1696

The problem is that it can't handle recursive functions which take a
reference.  For example, the following test code causes this:

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

Does this sound like something that's simple to fix, or something that won't
be supported for a while?

thanks,
Valient
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20061016/839f5139/attachment.html


More information about the devel-en mailing list