2014/1/6 Clément Bera <[email protected]> > Hello, > > here I have a class > > A>>== > ^ true > > Now: > a := A new. > b := A new. > a == b "Answers false" > a perform: #== with: b "Answers true" > > Do I have to remove the usage of the byte code for #== in the compiler to > be able to override == ? > > >
No, a==b should be used for "are the same Objects" (pointing to the same object) and not "are equal". Look for example at the commentn for ProtoObject>>== Nicolai
