[squeak-dev] Units package
rebmekop at gmail.com
Thu Jun 19 13:31:57 UTC 2008
> 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:
^value hash bitXor: self class hash
More information about the Squeak-dev