changeset 18702 | 9e60f3215c37 |
parent 18544 | 683a6ab1acf0 |
child 18705 | 843770030c5f |
child 20349 | 46e7949e6cf9 |
--- a/ImmutableArray.st Thu Aug 20 09:43:26 2015 +0200 +++ b/ImmutableArray.st Thu Aug 20 17:23:46 2015 +0200 @@ -201,6 +201,14 @@ self noModificationError. ^ super becomeNil +! + +becomeSameAs:anotherObject + "trigger an error if I should become something else + (this would be an even more tricky manipulation)" + + self noModificationError. + ^ super becomeSameAs:anotherObject ! ! !ImmutableArray class methodsFor:'documentation'!