Wrong method called.
    Walter Bright 
    newshound at digitalmars.com
       
    Sat Mar  4 10:51:00 PST 2006
    
    
  
"Dave" <Dave_member at pathlink.com> wrote in message 
news:dqef6s$2ovu$1 at digitaldaemon.com...
>I saw this elsewhere, but can't find the original and don't know if it was 
>ever
> reported in digitalmars.D.bugs or not.
>
> Summary: Changing the order of class methods in an import file can result 
> in the
> wrong method called when the executable is built with the corresponding 
> object
> file.
It's not a bug. The order in the import file *must* match the order in the 
import's compiled object file. In the example presented, the order in the 
import file is changed (via a command line switch) to be different from what 
it was in the object file. 
    
    
More information about the Digitalmars-d-bugs
mailing list