Cascading ?
Lukas Renggli
renggli at gmail.com
Thu Aug 17 10:43:54 UTC 2006
> >> test:= MyObjectModel
> >> test
> >> getAllChanges;
> >> storageStrategy storeNow;
> >> readyToContinue
> >>
> I know how to make it work in fact. What I don't understand is why the
> smalltalk doesn't allow this kind of construction.
Because it is ambiguous. How should the compiler know if it should
send #readyToContinue to 'test' or the result of 'test
storageStrategy'?
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Squeak-dev
mailing list
|