Chronos REQUIRES that the message #future NOT be inlined. The requirement PREDATES the inlining of #future, and so WILL NOT BE CHANGED, since temporal precedence MUST BE RESPECTED.
Also, 'future' belongs with greater weight and precedent to the domain of time, and date/time functionality is more fundamental than the competing usage.
Finally, and most critically: Inlining of messages is a direct contradiction of the principles on which Smalltalk is based.
I changed InfiniteTimepoint polarity: to use
self perform: #future
rather than
self future
and the Chronos package loaded into Squeak 4.2 without complaint. I don't know what ill effects that may have on the rest of the package. Things seem to work as expected, but I know I haven't tested it thoroughly. I think it does avoid the issue I was having with loading the Chronos package into Squeak 4.2.
Thanks
Paul
On 3/10/2011 1:50 PM, Paul DeBruicker wrote:
I changed InfiniteTimepoint polarity: to use
self perform: #future
rather than
self future
and the Chronos package loaded into Squeak 4.2 without complaint. I don't know what ill effects that may have on the rest of the package.
None whatsoever. The message #future is only used in one place and you fixed it. Good job.
Cheers, - Andreas
Things seem to work as expected, but I know I haven't tested it thoroughly. I think it does avoid the issue I was having with loading the Chronos package into Squeak 4.2.
Thanks
Paul
beginners@lists.squeakfoundation.org