Mantis - Squeak
Viewing Issue Advanced Details
6070 Collections minor N/A 02-14-07 10:27 09-08-08 15:12
nicolas cellier  
 
normal  
closed 3.9  
fixed  
none    
none 3.10  
0006070: [ENH] RunArray>>at:put:
RunArray does not answer to at:put: protocol...

This enhancement has been suggested by Damien Cassou in Squeak-dev

Attached a non tested implementation...

Maybe Damien will provide tests ?
 RunArray-atput.st [^] (1,235 bytes) 02-14-07 10:28
 RunArray-atput2.st [^] (1,242 bytes) 02-14-07 22:55
 RunArrayTest-testAtPut.1.cs [^] (938 bytes) 03-21-07 10:26

Notes
(0009802)
nicolas cellier   
02-14-07 22:54   
Oops!

As the name tells, offset is an offset, not an index... So it starts at zero.
Forget old file, try new one.
(0009828)
Damien Cassou   
02-15-07 10:37   
The version RunArray-atput2.st passes my 3 tests. Thank you very much Nicolas. Good work.
(0010457)
Damien Cassou   
03-21-07 10:27   
I have added 3 tests that ensures RunArray>>at:put: behaves correctly.
(0010493)
edgardec   
04-03-07 18:36   
This now is 7077RunArray-atput and was in updates for 3.10
Thanks Damien and Nicolas!
(0010499)
Damien Cassou   
04-07-07 17:18   
This bug report can be close. I confirm the integration in the current 3.10alpha.
(0012326)
ducasse   
07-03-08 20:22   
in pharo 10049
(0012327)
ducasse   
07-03-08 20:30   
in pharo 10049
(0012589)
KenCausey   
09-08-08 15:12   
Harvested in update 7077