In D1, is there any reason I should be getting an error on this?: // module A: enum FooA { fooA }; void bar(FooA x) {}
// module B: import A; enum FooB { fooB }; void bar(FooB x) {} bar(FooB.fooB); // Error: A.bar conflicts with B.bar Is overloading across modules not allowed? Is overloading on two different enum types not allowed? Is it a DMD bug? Or does this all work fine and I probably just have some other problem elsewhere?