www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: qaston gmail.com


--- Comment #0 from QAston <qaston 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: -------
Aug 07 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10770


Henning Pohl <henning still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |henning still-hidden.de


--- Comment #1 from Henning Pohl <henning still-hidden.de> 2013-08-08 09:37:03
PDT ---
https://github.com/D-Programming-Language/dmd/pull/2456

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