Undefined identifier error with enum in the separate module

bearophile bearophileHUGS at lycos.com
Sun Feb 2 13:01:51 PST 2014


Philippe Sigaud:

> 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.

You can use it externally too, if you qualify it correctly.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list