[squeak-dev] Units package
Balázs Kósi
rebmekop at gmail.com
Thu Jun 19 13:31:57 UTC 2008
Hi!
> Now, the tests run OK in the SUnit and fail in the Workspace! Even
> attempting to use the object gets the same stack trace...
I met this problem recenty. It is something to do with, how the compiler
handles global variables. It involves a dictionary lookup, where your UnitValue
object is (part of) the key.
> Can you please advise?
Implement UnitValue >> #hash eg:
hash
^value hash bitXor: self class hash
Balázs
More information about the Squeak-dev
mailing list
|