--- a/Array.st Thu Aug 11 15:35:48 2016 +0200
+++ b/Array.st Thu Aug 11 15:52:43 2016 +0200
@@ -303,7 +303,6 @@
"Modified: 23.4.1996 / 15:55:06 / cg"
! !
-
!Array methodsFor:'accessing'!
at:index
@@ -1611,7 +1610,7 @@
replaceFrom:start to:stop with:aCollection startingAt:repStart
"replace elements in the receiver between index start and stop,
- with elements taken from replacementCollection starting at repStart.
+ with elements taken from replacementCollection starting at repStart.
Return the receiver.
Reimplemented for speed if both receiver and aCollection are Arrays"
@@ -1731,7 +1730,7 @@
*dst++ = *src++;
}
#endif
- } else {
+ } else {
// not copying into the same object
REGISTER int spc = __qSpace(self);
#ifdef __UNROLL_LOOPS__
@@ -1774,7 +1773,7 @@
"redefinable helper for displayString"
|cls|
-
+
((cls := self class) == Array or:[cls == ImmutableArray]) ifTrue:[
^ '#'
].