Merge jv
authorMerge Script
Wed, 07 Sep 2016 06:47:34 +0200
branchjv
changeset 20350 90f13d5d7e00
parent 20348 69376f98c1b4 (current diff)
parent 20349 46e7949e6cf9 (diff)
child 20357 0eae8bf21a91
Merge
ImmutableArray.st
--- a/ImmutableArray.st	Mon Sep 05 07:12:05 2016 +0200
+++ b/ImmutableArray.st	Wed Sep 07 06:47:34 2016 +0200
@@ -209,6 +209,13 @@
 
     self noModificationError.
     ^ super becomeSameAs:anotherObject
+!
+
+grow:newSize
+    "trigger an error if I should change my size"
+
+    self noModificationError.
+    ^ super grow:newSize
 ! !
 
 !ImmutableArray class methodsFor:'documentation'!