On Thursday, 21 November 2013 at 08:05:03 UTC, Michal Minich
wrote:
On Thursday, 21 November 2013 at 07:42:48 UTC, Craig Dillabaugh wrote:
I should also mention, this post likely better belongs in:

digitalmars.D.learn

I don't entirely think so. I think the OP is arguing that D should be able to identify symbol as specific enum's field when used: - in place of function argument when the fn parameters is of enum type
  - and when comparing for equality with variable of enum type.

Yes, perhaps that was his intention (no pun intended). First few
times I used enums in D I was caught because I expected the
behavior he is suggesting here would work.

Reply via email to