2014-05-08 10:39 GMT+02:00 phil@highoctane.be <phil@highoctane.be>:
On Thu, May 8, 2014 at 9:37 AM, Sven Van Caekenberghe <sven@stfx.eu> wrote:

On 07 May 2014, at 23:25, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> wrote:

> I love these kind of snippets :)
>
> I have built a collection of freak expressions in Squeak3.9.
> Pharo 3.0 is less spectacular, above collection is shrinking dangerously...
> but there are still some not so unsurprising features to test for:

These are actually not that funny, we should try to do something about them, or at least discuss them a bit.

> 'hello' copyReplaceFrom: 6 to: 4 with: 'world'.

#copyReplaceFrom:to:with: seems overloaded with the insert case, is that really necessary ?
still the fact that the $o appears twice feels like a bug, no ?

'Helloworldo' was indeed very surprising. Silent failures like this seem pretty dangerous to me.

Are you sure this is a failure ? :)
From the comment of SequenceableCollection>>copyReplaceFrom: start to: stop with: replacementCollection

...�� If stop is less than start, then this is an insertion;....start = size+1 means append after last character....