The Trunk: Collections-mt.840.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-mt.840.mcz

commits-2
Marcel Taeumel uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-mt.840.mcz

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

Name: Collections-mt.840
Author: mt
Time: 12 July 2019, 8:38:57.127612 am
UUID: aa463bb4-e73d-cf40-b565-c8f87687be06
Ancestors: Collections-mt.839

Removes last traces of special treatment for one-character symbols.

See http://forum.world.st/Symbol-gt-OneCharacterSymbols-td5101085.html

=============== Diff against Collections-mt.839 ===============

Item was changed:
  ----- Method: Character>>asSymbol (in category 'converting') -----
  asSymbol
  "Answer a Symbol consisting of the receiver as the only element."
 
+ ^Symbol intern: self asString!
- ^Symbol internCharacter: self!

Item was changed:
  String subclass: #Symbol
  instanceVariableNames: ''
+ classVariableNames: 'NewSymbols SymbolTable'
- classVariableNames: 'NewSymbols OneCharacterSymbols SymbolTable'
  poolDictionaries: ''
  category: 'Collections-Strings'!
 
  !Symbol commentStamp: '<historical>' prior: 0!
  I represent Strings that are created uniquely. Thus, someString asSymbol == someString asSymbol.!

Item was removed:
- ----- Method: Symbol class>>internCharacter: (in category 'instance creation') -----
- internCharacter: aCharacter
- ^self intern: aCharacter asString!