[Issue 5936] Regression(2.050): Segfault when forward-referencing pure auto-return member function with parameter.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 27 11:48:14 PDT 2011


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



--- Comment #4 from kennytm at gmail.com 2011-07-27 11:48:10 PDT ---
(In reply to comment #3)
> (In reply to comment #1)
> This patch only fixes 5844. In git master this becomes
> 
>    Internal error: toir.c 190
> 
> with or without your patch.

As of the latest git master the ICE no longer happens and the test cases now
behaves normally.

Also, one more test case which involves CTFE, based on std.complex.complex:

---------------------------
auto bug5936c(R)(R i) @safe pure nothrow {
    return true;
}
static assert( bug5936c(0) );
---------------------------

-- 
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