[squeak-dev] The Inbox: 60Deprecated-nice.94.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Tue Apr 13 10:20:20 UTC 2021


It's in the inbox precisely for discussion :)

Le mar. 13 avr. 2021 à 12:13, Marcel Taeumel <marcel.taeumel at hpi.de> a écrit :
>
> Hi Nicolas,
>
> actually deprecating Symbol API is often dangerous. Especially since Monticello installs moved methods before other changes. I vote for "self flag: #deprecated" or an extra checkpoint in Squeak's update map.
>
> Best,
> Marcel
>
> Am 13.04.2021 12:10:22 schrieb commits at source.squeak.org <commits at source.squeak.org>:
>
> Nicolas Cellier uploaded a new version of 60Deprecated to project The Inbox:
> http://source.squeak.org/inbox/60Deprecated-nice.94.mcz
>
> ==================== Summary ====================
>
> Name: 60Deprecated-nice.94
> Author: nice
> Time: 13 April 2021, 12:10:09.32989 pm
> UUID: 2efd14b2-b4f1-3247-848e-c5f8f0ef9ced
> Ancestors: 60Deprecated-dtl.93
>
> Deprecate Symbol findInterned: aString in favour of lookup:
>
> BEWARE: #findInterned: is an old dialect that might still be used by a Number of external packages, including refactoring browser.
>
> This must be discussed.
>
> =============== Diff against 60Deprecated-dtl.93 ===============
>
> Item was added:
> + ----- Method: Symbol class>>findInterned: (in category '*60Deprecated-instance creation') -----
> + findInterned: aString
> +
> + self deprecated: 'Use #lookup: instead.'.
> + ^ self lookup: aString!
>
>
>


More information about the Squeak-dev mailing list