Undefined identifier error with enum in the separate module
bearophile
bearophileHUGS at lycos.com
Sun Feb 2 02:36:13 PST 2014
Philippe Sigaud:
> I'd prefer an error, with the same kind of nice message you get
> when
> you forget to import std.stdio.
> Ideally, the error should be caught as soon as the module is
> compiled,
> like shadowing errors (which it is, in a way).
>
> "module foo contains a member named foo. Module members cannot
> shadow module names."
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
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list