Undefined identifier error with enum in the separate module
bearophile
bearophileHUGS at lycos.com
Sat Feb 1 14:22:17 PST 2014
Philippe Sigaud:
> In D, do not use the same symbol for a module and one of its
> inner symbols.
I have seen other people hit this problem (like problems caused
by having a "set.d" module containing a "Set" struct plus a "set"
helper function).
Is this worth warning against (with a dmd warning/error)?
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list