[Pharo-dev] Units package access

Diego Lont diego.lont at delware.nl
Fri Apr 25 08:29:07 EDT 2014


Hi all,

I think I have found a bug in Units and would like to correct it.

I am using Units, and although it has some quirks (100 kg * (10 m / 1 t) should be 1 m and not 1000 kilogram metres per tonne), it is working well for me. But one point is a problem for me: the “=“ is no longer symmetric.

The following things should be unequal:
10 kg = 10 s
10 kg = 10
10 = 10 kg

But the thing is, that 10 kg = 10 actually returns true. So if someone can give me access I will fix this bug (with a test case).

Regards,
Diego



More information about the Pharo-dev mailing list