[Issue 9055] [CTFE] Compiler segfaults on paren-free auto-return forward referenced member function call on nonexistent 'this' receiver

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 23 05:53:34 PST 2012


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


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |CTFE
                 CC|                            |timon.gehr at gmx.ch
            Summary|Compiler bails out on       |[CTFE] Compiler segfaults
                   |initializing a variable     |on paren-free auto-return
                   |                            |forward referenced member
                   |                            |function call on
                   |                            |nonexistent 'this' receiver


--- Comment #4 from timon.gehr at gmx.ch 2012-11-23 05:53:32 PST ---
Reduced test case:

class C{
    enum a=this.b;
    auto b(){ return 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