[Pharo-dev] Units package access

Marcus Denker marcus.denker at inria.fr
Sat Apr 26 04:54:48 EDT 2014


On 25 Apr 2014, at 14:29, Diego Lont <diego.lont at delware.nl> wrote:

> Hi all,
> 
> I think I have found a bug in Units and would like to correct it.
> 
I added you.

> 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