Implicit enum conversions are a stupid PITA

Walter Bright newshound1 at digitalmars.com
Thu Mar 25 15:02:00 PDT 2010


Ellery Newcomer wrote:
> I guess what I'm trying to say is it doesn't make sense that I can 
> implicitly import FooA, an external symbol, but not bar(FooA), an 
> external symbol defined on an external symbol which cannot be implicitly 
> converted to a local symbol.

And I believe it makes perfect sense! Everywhere else in the language, when you 
define a local name it *overrides* names in other scopes, it doesn't overload them.



More information about the Digitalmars-d mailing list