SuccessChanges

Summary

  1. Fix bug in WeakValueDictionary when #assotiationAt: was returning the (details)
  2. Do not keep original association class in WeakValueDictionary (details)
  3. Remove unsued var (details)
Commit ed09e83529460a7646a55348db39b6cca6441223 by cyril
Fix bug in WeakValueDictionary when #assotiationAt: was returning the
wrong kind of association.
testReturnedAssociationsAreRight
| dictionary |
dictionary := WeakValueDictionary new.
dictionary add: (GlobalVariable key: 'test' value: nil).
dictionary add: (GlobalVariable key: 'test2' value: 1).
self assert: (dictionary associationAt: 'test') value isNil.
self assert: (dictionary associationAt: 'test2') value equals: 1.
self assert: ((dictionary associationAt: 'test') isKindOf:
GlobalVariable)
The file was modifiedsrc/Collections-Weak/WeakValueDictionary.class.st (diff)
The file was modifiedsrc/Collections-Tests/WeakValueDictionaryTest.class.st (diff)
The file was modifiedsrc/Collections-Support/WeakValueAssociation.class.st (diff)
Commit 78d3a51bbb682f3856dda2d8960c055a354201b8 by cyril
Do not keep original association class in WeakValueDictionary
The file was modifiedsrc/Collections-Weak/WeakValueDictionary.class.st (diff)
The file was modifiedsrc/Collections-Tests/WeakValueDictionaryTest.class.st (diff)
The file was modifiedsrc/Collections-Support/WeakValueAssociation.class.st (diff)
The file was modifiedsrc/Collections-Support/WeakValueAssociation.class.st (diff)