Parcourir la source

SequenceableCollection reparented, by hand.

Herbert Vojčík il y a 12 ans
Parent
commit
c342fc391a
4 fichiers modifiés avec 501 ajouts et 252 suppressions
  1. 249 125
      js/Kernel-Collections.deploy.js
  2. 249 125
      js/Kernel-Collections.js
  3. 2 1
      js/boot.js
  4. 1 1
      st/Kernel-Collections.st

Fichier diff supprimé car celui-ci est trop grand
+ 249 - 125
js/Kernel-Collections.deploy.js


Fichier diff supprimé car celui-ci est trop grand
+ 249 - 125
js/Kernel-Collections.js


+ 2 - 1
js/boot.js

@@ -822,7 +822,8 @@ smalltalk.wrapClassName("Date", "Kernel", Date, smalltalk.Object);
 smalltalk.wrapClassName("UndefinedObject", "Kernel", SmalltalkNil, smalltalk.Object, false);
 
 smalltalk.addClass("Collection", smalltalk.Object, null, "Kernel");
-smalltalk.addClass("SequenceableCollection", smalltalk.Collection, null, "Kernel");
+smalltalk.addClass("IndexableCollection", smalltalk.Collection, null, "Kernel");
+smalltalk.addClass("SequenceableCollection", smalltalk.IndexableCollection, null, "Kernel");
 smalltalk.addClass("CharacterArray", smalltalk.SequenceableCollection, null, "Kernel");
 smalltalk.wrapClassName("String", "Kernel", String, smalltalk.CharacterArray);
 smalltalk.wrapClassName("Symbol", "Kernel", SmalltalkSymbol, smalltalk.CharacterArray, false);

+ 1 - 1
st/Kernel-Collections.st

@@ -643,7 +643,7 @@ includesKey: aKey
 	< return self._positionOfKey_(aKey) >>= 0; >
 ! !
 
-Collection subclass: #SequenceableCollection
+IndexableCollection subclass: #SequenceableCollection
 	instanceVariableNames: ''
 	package: 'Kernel-Collections'!
 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff