[Issue 10770] New: is(T BASE==enum) with tag enum T - AssertFail:'type' line 428 declaration.c

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 7 07:47:48 PDT 2013


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

           Summary: is(T BASE==enum) with tag enum T - AssertFail:'type'
                    line 428 declaration.c
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: qaston at gmail.com


--- Comment #0 from QAston <qaston at gmail.com> 2013-08-07 07:47:47 PDT ---
Code to reproduce
---
    enum Test2;
    static assert (is(Test2 BASE == enum));
---

error: Assertion failure: 'type' on line 428 in file 'declaration.c'

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