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

           Summary: [CTFE] ice converting null pointer to bool with
                    constant member function
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: verylonglogin....@gmail.com


--- Comment #0 from Denis <verylonglogin....@gmail.com> 2011-12-26 09:38:45 MSK 
---
Assertion failure: 'e->type == type' on line 5553 in file 'interpret.c'
---
struct S {
    int* ptr;
    bool f() const { return !!ptr; }
}

enum data = S().f();
---

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

Reply via email to