On Sunday, 15 December 2013 at 11:27:51 UTC, bearophile wrote:
And some people have criticized the verbosity in special situations, like this:

enum Foo { good, bad }
void bar(Foo f) {}
void main() {
    // bar(bad); // Not enough
    bar(Foo.bad);
}

A related discussion:
http://forum.dlang.org/thread/[email protected]

Reply via email to