[squeak-dev] The Trunk: Protocols-nice.44.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Sep 11 20:55:09 UTC 2013


Nicolas Cellier uploaded a new version of Protocols to project The Trunk:
http://source.squeak.org/trunk/Protocols-nice.44.mcz

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

Name: Protocols-nice.44
Author: nice
Time: 11 September 2013, 10:54:42.513 pm
UUID: d9a9c49e-9639-4b56-94da-e50872b32dcf
Ancestors: Protocols-fbs.43

#: is a fragile squeakism dating from now obsolete alternate selector syntax.
It is unportable to other dialects and might be obsoleted in future trunk version.
Replace it with universal syntax for invalid selectors: #':'

=============== Diff against Protocols-fbs.43 ===============

Item was changed:
  ----- Method: Vocabulary>>translatedWordingFor: (in category 'translation') -----
  translatedWordingFor: aSymbol
  	"If I have a translated wording for aSymbol, return it, else return aSymbol.  Caveat: at present, this mechanism is only germane for *assignment-operator wordings*"
  
+ 	#(#':' #Incr: #Decr: #Mult:) with: #('' 'increase by' 'decrease by' 'multiply by') do:
- 	#(: Incr: Decr: Mult:) with: #('' 'increase by' 'decrease by' 'multiply by') do:
  		[:a :b | aSymbol = a ifTrue: [^ b translated]].
  
  	^ aSymbol translated!



More information about the Squeak-dev mailing list