Undefined identifier error with enum in the separate module

Philippe Sigaud philippe.sigaud at gmail.com
Sun Feb 2 12:36:25 PST 2014


> This is the ER I have opened, if you have comments or you don't agree with
> my ideas, please comment there:
> https://d.puremagic.com/issues/show_bug.cgi?id=12059

Well, I really thought it was forbidden (as in: the code will never
work). I guess you can define foo inside module foo.d and use it
internally... So OK for your proposal.


More information about the Digitalmars-d-learn mailing list