Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003294 [Squeak] Collections minor always 03-12-06 09:19 03-14-06 16:08
Reporter R4p70r View Status public  
Assigned To MarcusDenker
Priority normal Resolution fixed  
Status closed   Product Version 3.8
Summary 0003294: KeyedSet>>add: cand send #errorKeyAlreadyExists: which is not implemented
Description I'm still quite new to Squeak and SmallTalk so I'm not 100% sure this is a bug.

In both Squeak 3.8 and 3.9alpha, the method #add: of KeyedSet sometimes send the #errorKeyAlreadyExists: message which as no implementers. It is also the sole sender of this message in my image.
Additional Information
Attached Files  FixKeyedSetAdd-md.1.cs [^] (528 bytes) 03-14-06 12:37

- Relationships

- Notes
(0004467 - 141 - 147 - 147 - 147 - 147 - 147)
MarcusDenker
03-14-06 12:37

Yes, that's a bug. Attached is a version of add: that works like Set>>add: (just silently return the added elements when adding a duplicate).
 
(0004469 - 4 - 4 - 4 - 4 - 4 - 4)
MarcusDenker
03-14-06 16:08

7008
 

- Issue History
Date Modified Username Field Change
03-12-06 09:19 R4p70r New Issue
03-14-06 12:37 MarcusDenker Note Added: 0004467
03-14-06 12:37 MarcusDenker File Added: FixKeyedSetAdd-md.1.cs
03-14-06 12:38 MarcusDenker Status new => resolved
03-14-06 12:38 MarcusDenker Resolution open => fixed
03-14-06 12:38 MarcusDenker Assigned To  => MarcusDenker
03-14-06 16:08 MarcusDenker Status resolved => closed
03-14-06 16:08 MarcusDenker Note Added: 0004469
03-14-06 16:08 MarcusDenker Fixed in Version  => 3.9


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