[squeak-dev] The Trunk: Kernel-eem.1165.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 24 18:19:35 UTC 2018


Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1165.mcz

==================== Summary ====================

Name: Kernel-eem.1165
Author: eem
Time: 24 April 2018, 11:19:16.734066 am
UUID: 281c4af1-ffb9-4616-a9ef-a6369143c7b7
Ancestors: Kernel-eem.1162, Kernel-eem.1164

Add a convenience to turn off showing deprecation warnings for the duration of a block.

=============== Diff against Kernel-eem.1164 ===============

Item was added:
+ ----- Method: Deprecation class>>withDeprecationWarningsSuppressed: (in category 'utilities') -----
+ withDeprecationWarningsSuppressed: aBlock
+ 	| savedShowDeprecationWarnings |
+ 	savedShowDeprecationWarnings := ShowDeprecationWarnings.
+ 	ShowDeprecationWarnings := false.
+ 	^aBlock ensure: [ShowDeprecationWarnings := savedShowDeprecationWarnings]!



More information about the Squeak-dev mailing list