[dmd-beta] dmd 2.063 beta 5
Kenji Hara
k.hara.pg at gmail.com
Thu May 23 07:01:40 PDT 2013
Honestly, issue 10142 contains a kind of enhancement.
>From 2.063, all of enum values and enum members are internally wrapped by
VarDeclaration to make UDA for them workable (== fixing issue 9652). But
currently dmd disables abstract/override/final attribute for enum variable
declarations.
class C {
override enum int x1 = 1; // currently NG
abstract enum int x2 = 1; // currently NG
final enum int x3 = 1; // currently NG
But I think this is unnecessary limitation. Relax such limitation would
automatically your first enum issue. So
10142 contains both regression fix and enhancement.
Note that the enhancement never break currently accepted code.
Kenji Hara
2013/5/23 Jacob Carlborg <doob at me.com>
>
>
> On May 23, 2013, at 12:54 PM, Kenji Hara <k.hara.pg at gmail.com> wrote:
>
>
> Regression:
> http://d.puremagic.com/issues/show_bug.cgi?id=10142
>
>
> Thanks for the bug reports. But is this really the same issue as the first
> enum issue? The first is solved by replacing the C style initializer of the
> struct with a D style. Don't know about the second one.
>
> --
> /Jacob Carlborg
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20130523/549ea5a6/attachment.html>
More information about the dmd-beta
mailing list