SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

Mantis - Squeak
Viewing Issue Advanced Details
2689 Kernel minor N/A 02-08-06 03:02 02-08-06 19:06
nicolas cellier  
 
normal  
new 3.8  
open  
none    
none  
0002689: isComplex method name is bad
Object isComplex and Complex isComplex are both implemented in term of isKindOf: Complex.

Some other class do implement isComplex, and obviously they are complex (complicated) but not KindOf: Complex.

This can foolish some code.
I suggest Complex being renamed ComplexNumber and isComplex being renamed isComplexNumber (see how Object>>isComplex comment claims for that).

Then any class will be free to express its complexity via isComplex without harming.
related to 0003725closed  [FIX] ComplexTest>>testEquality 
related to 0004262closed KenCausey SUnit test ComplexTest>>testEquality fails for an collection 
related to 0004261closed  SUnit test ComplexTest>>testEquality fails for nil 
related to 0003311new  Complex Numbers are Wacky 
related to 0002688new  aNumber = (aNumber + 0 i) answer false 

There are no notes attached to this issue.