On 15/6/14 18:40, Sven Van Caekenberghe wrote:
The method Announcer>>#when:send:to: seems new in Pharo 3 (it does exist in Pharo 2, 
but inherited from Object, doing something else), while the older equivalent 
Announcer>>#on:send:to: does exist in Pharo 2, but is deprecated in Pharo 3. This 
poses a problem for x-platform code targeting both platforms.

the reason was to clearly identify announcement (by opposition to event triggering that we would like to remove but some widgets are using it) and Exception. Using on:do: was a bad idea.

Could Announcer>>#when:send:to: not be backported/added to Pharo 2 ?
yes.
We should check because 20 is not really maintained

It is not a major problem, but it is annoying.

Sven





Reply via email to