Mantis - Squeak
Viewing Issue Advanced Details
6777 Collections minor always 11-19-07 23:23 04-18-10 22:05
nicolas cellier  
andreas  
normal  
closed 3.10  
fixed  
none    
none trunk  
0006777: [BUG] CharacterSet copy is shallow...
"If we change the copy, we change the original"
    | cs1 cs2 |
    cs1 := CharacterSet separators.
    cs2 := cs1 copy.
    cs2 remove: Character tab.
    ^self should: (cs1 includes: Character tab).
We just have to define a #postCopy.
I noticed few classes do.
They rather override #copy.
 CharacterSet-copy-Test-M6777-nice.1.cs [^] (921 bytes) 11-19-07 23:30
 CharacterSet-copy-Patch-M6777-nice.1.cs [^] (630 bytes) 11-19-07 23:32

Notes
(0011568)
Keith_Hodges   
12-17-07 17:32   
"fix begin"
Installer mantis bug: 6777 fix:'CharacterSet-copy-Patch-M6777-nice.1.cs'.
"fix test".
Installer mantis bug: 6777 fix:'CharacterSet-copy-Test-M6777-nice.1.cs'.
"fix end"
(0012336)
noha   
07-04-08 06:24   
in pharo 10049
(0013267)
nicolas cellier   
08-24-09 20:06   
Fixed in http://source.squeak.org/trunk/Collections-nice.110.mcz [^]