On 13 Sep 2015, at 12:15 , Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
I donât care about other dialects. Iâm not changing anything now. Iâm just saying: âhere is a limitation, maybe it can be solved in this wayâ. Maybe there is a real reason for that. But nobody answers.
Uko
And I'm telling you, it's not the limitation that's wrong, it's the use. If you want a hierarchy like: SelectionChanged ClassChanged ProtocolChanged MethodChanged to work, you use double dispatch. myThing when: SelectionChanged do: [:ann ann handleBy: self ] ClassChanged >> #handleBy: aResponder aResponder classChanged: ann ProtocolChanged aResponder protoclChanged: ann etc. You do *not* respond to each specifically when ClassChanged do: [:ann self classChanged: ann] Cheers, Henry