Why does this snippet print the enum identifiers instead of their values?

bearophile bearophileHUGS at lycos.com
Tue May 28 08:15:16 PDT 2013


On Tuesday, 28 May 2013 at 14:35:22 UTC, Jesse Phillips wrote:
> I do not believe this is a bug.

You are right, I was wrong. writeln is meant to write the name of 
enums and not their contents.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list