Issue 19547 - New 2.082 Attributes on Enum Member prevent from formatting
Summary: New 2.082 Attributes on Enum Member prevent from formatting
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P3 normal
Assignee: No Owner
URL:
Keywords: rejects-valid
Depends on:
Blocks:
 
Reported: 2019-01-04 04:56 UTC by kekeniro2
Modified: 2024-12-01 16:34 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kekeniro2 2019-01-04 04:56:10 UTC
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 );
}
Comment 1 kekeniro2 2019-01-04 10:14:20 UTC
Modified the subject's typo.
Comment 2 dlangBugzillaToGithub 2024-12-01 16:34:43 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/9769

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB