[Issue 9695] Ddoc should emit enum member initializers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 22 15:17:41 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9695



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-22 15:17:40 PDT ---
(In reply to comment #2)
> I don't see the rationale for why the initializers must be present in Ddoc. I
> think that violates the principle of hiding implementation details.

I've got an idea: How about we emit the initializer inside a new macro (say
MEMBERINIT), which by default is set to output nothing.

Then a user could override this in his own .ddoc file to emit the initializer.

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


More information about the Digitalmars-d-bugs mailing list