Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007194 [Squeak] Collections minor always 09-16-08 23:04 09-16-08 23:04
Reporter nicolas cellier View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.10.2
Summary 0007194: copyReplaceFrom:to:with: strange behavior with ill bounds
Description My weird mind wanted to try this:

('hello' copyReplaceFrom: 6 to: 4 with: ' world')
  -> 'hello worldo'

Funny, isn't it
Additional Information ('hello' copyReplaceFrom: 6 to: 0 with: ' world') -> 'hello worldhello'

Fortunately, both these work as I would expect:
  'hello' copyReplaceFrom: 6 to: 5 with: ' world'.
  'hello' copyReplaceFrom: 1 to: 0 with: 'world '.
Attached Files

- Relationships
parent of 0005707new  'hello' copyFrom: 6 to: 5 returns '' 
Not all the children of this issue are yet resolved or closed.

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-16-08 23:04 nicolas cellier New Issue
09-18-08 00:57 wiz Relationship added parent of 0005707


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
33 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker