www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19547] New: New 2.083 Attributes on Enum Member prevent from

https://issues.dlang.org/show_bug.cgi?id=19547

          Issue ID: 19547
           Summary: New 2.083 Attributes on Enum Member prevent from
                    formatting
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: kekeniro2 yahoo.co.jp

The below code failed in std.traits.EnumSpecificMembers, with a dozen of
errors(with  2.084).
I think this is a phobos issue.


import std.stdio;

enum DeprTest {
    normal,
    deprecated depr,
     disable dis,
}

void main() {
    writeln( DeprTest.normal );
}

--
Jan 03