D1: Overloading across modules

BCS none at anon.com
Tue Mar 23 13:10:11 PDT 2010


Hello Nick,

> 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?

IIRC, this is done so that importing a module will never alter what function 
a call binds to. By forcing an error, the program gets a prompt to deal with 
it.
 
-- 
... <IXOYE><





More information about the Digitalmars-d-learn mailing list