[Issue 11327] New: Regression (2.059): ICE in a recursive UFCS call

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 22 11:47:29 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11327

           Summary: Regression (2.059): ICE in a recursive UFCS call
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-10-22 11:47:28 PDT ---
-----
S call(S)(S s)
{
    // accidental recursive call to UFCS function
    return s.call();
}

struct S
{
}

void main()
{
    S s;
    call(s);
}
-----

2.058:
$ dmd ice.d
> ice.d(4): Error: no property 'call' for type 'S'
> ice.d(14): Error: template instance ice.call!(S) error instantiating

2.059:
$ dmd ice.d
> crash

I don't have a stack trace right now, I need to reinstall my windbg symbols.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list