Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.245.mcz==================== Summary ====================
Name: Kernel-nice.245
Author: nice
Time: 12 September 2009, 9:10:28 am
UUID: 537341dc-ff1c-44a7-8e3a-264f17f071ca
Ancestors: Kernel-ar.244
Part of fix for
http://bugs.squeak.org/view.php?id=6797Implement #literalEqual: in ScaledDecimal so as to be able to differentiate 0.5s1 and 0.50s2.
=============== Diff against Kernel-ar.244 ===============
Item was added:
+ ----- Method: ScaledDecimal>>literalEqual: (in category 'comparing') -----
+ literalEqual: other
+ "Testing equality is not enough.
+ It is also necessary to test number of decimal places (scale).
+ Otherwise we cannot compile both literals 0.5s1 and 0.50s2 in the same method"
+
+ ^(super literalEqual: other) and: [self scale = other scale]!