[Issue 6946] Compile-time flags generator

Nick Treleaven ntrel-public at yahoo.co.uk
Sat Apr 12 04:32:34 PDT 2014


On 11/04/2014 13:39, Orvid King wrote:
> Actually, if we would already be doing partial tokenization, then I
> would suspect it wouldn't be that hard to add support for extracting
> documentation and putting them in the generated code for the mixin.

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

> Also, to keep with standard D style, where the name of the type comes
> before it's definition, perhaps the recommended syntax for the mixin
> would be (provided it's currently possible):
> mixin MyFlags = BitFlags!q{ A, B, C, D };

I suggested this in an earlier comment ;-) Do you want to file a 
bugzilla enhancement?

BTW commenting in bugzilla is probably better than here.


More information about the Digitalmars-d-bugs mailing list