[squeak-dev] Deprecating #ifNotNilDo: & friends

Marcel Taeumel marcel.taeumel at hpi.de
Sun Sep 5 14:17:53 UTC 2021


Hi Levente --

+1 Thanks for doing this :-)

Also thanks for the test, which is a great help also during release preparation.

Best,
Marcel
Am 03.09.2021 20:43:10 schrieb Levente Uzonyi <leves at caesar.elte.hu>:
Hi All,

We already have #ifNotNil: which has been doing the same thing as
#ifNotNilDo: for about 10 years now.
The idea is to deprecate #ifNotNilDo: softly, without raising a warning on
usage just like how it's done with #doWithIndex:.
The inbox entries 60Deprecated-ul.96 and Kernel-ul.1409 contain the
necessary changes, while KernelTests-ul.405 has an additional test to
verify that no methods use #ifNotNilDo:.


Levente

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210905/51131ece/attachment.html>


More information about the Squeak-dev mailing list