[squeak-dev] Deprecating #ifNotNilDo: & friends

Levente Uzonyi leves at caesar.elte.hu
Fri Sep 3 18:42:56 UTC 2021

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:.


More information about the Squeak-dev mailing list