pharo-graphics / Bloc

Low-level UI infrastructure & framework for Pharo
MIT License
83 stars 40 forks source link

BlText>>#when:do: uses deprecated method #586

Open Ducasse opened 2 months ago

Ducasse commented 2 months ago

Automatic deprecation code rewrite: The method Announcer>>#when:do: called from BlText>>#when:do: has been deprecated. Since there are some block closures (Clean and Constant) without a receiver, the API of announcements was changed to send the subscriber explicitly. We are deprecating this method because it was asking for the receiver of the block to use it as the subscriber.