[squeak-dev] The Inbox: 60Deprecated-nice.94.mcz
Marcel Taeumel
marcel.taeumel at hpi.de
Tue Apr 13 10:13:08 UTC 2021
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210413/25f90ced/attachment.html>
More information about the Squeak-dev
mailing list
|