[squeak-dev] The Trunk: System-ul.322.mcz

Bert Freudenberg bert at freudenbergs.de
Wed Apr 28 13:36:18 UTC 2010


Wouldn't it be better to add compatibility methods such as this to a separate package, that could later be removed (or installed manually if one needs compatibility)?

- Bert -

On 28.04.2010, at 10:00, commits at source.squeak.org wrote:
> 
> Levente Uzonyi uploaded a new version of System to project The Trunk:
> http://source.squeak.org/trunk/System-ul.322.mcz
> 
> ==================== Summary ====================
> 
> Name: System-ul.322
> Author: ul
> Time: 28 April 2010, 11:48:58.524 am
> UUID: 7f03b95b-18a3-3544-b79c-58335116cbe1
> Ancestors: System-jcg.321
> 
> - added two missing compatibility methods
> 
> =============== Diff against System-jcg.321 ===============
> 
> Item was added:
> + ----- Method: SmalltalkImage>>keyAtValue: (in category 'dictionary access') -----
> + keyAtValue: value
> + 	"Answer the key that is the external name for the argument, value. If
> + 	there is none, answer nil."
> + 
> + 	self deprecated: 'Use Smalltalk globals'.
> + 	^globals keyAtValue: value
> + !
> 
> Item was added:
> + ----- Method: SystemDictionary>>hasSpecialSelector:ifTrueSetByte: (in category 'compatibility') -----
> + hasSpecialSelector: aLiteral ifTrueSetByte: aBlock
> + 
> + 	self deprecated: 'Use Smalltalk'.
> + 	^Smalltalk hasSpecialSelector: aLiteral ifTrueSetByte: aBlock!
> 
> 






More information about the Squeak-dev mailing list