Implicit enum conversions are a stupid PITA

Walter Bright newshound1 at digitalmars.com
Thu Mar 25 02:42:59 PDT 2010


Nick Sabalausky wrote:
> Hmm...That's odd...I guess I'll have to dig closer to see what's going on. 
> The discussion on "D.learn" didn't seem to indicate that that above should 
> work, so I hastily ruled out the possibility of something else going on in 
> my code. It's too late for me to think stright ATM, so I'll have to check on 
> that in the morning.


This kind of misunderstanding comes up all the time, it's why having exact 
reproducible snippets of code is so important! Often the critical detail is 
something that was omitted because the person thought it was either obvious or 
irrelevant.



More information about the Digitalmars-d mailing list