author | Stefan Vogel <sv@exept.de> |
Tue, 22 Oct 2019 20:25:00 +0200 | |
changeset 24855 | bb545059703b |
parent 24854 | dd54d72a402f |
child 24856 | b622eeb3467d |
--- a/Bag.st Tue Oct 22 19:33:45 2019 +0200 +++ b/Bag.st Tue Oct 22 20:25:00 2019 +0200 @@ -114,7 +114,9 @@ "return a new empty Bag with initial space for size elements. Elements will be compared using equality compare (i.e. #= not #== identity)." - ^ self equalityNew:size + ^ self basicNew initContents:size + + "Modified: / 22-10-2019 / 20:21:58 / Stefan Vogel" ! newWithCapacity:size