Hi. The answer of: | dictionary | dictionary := WeakValueDictionary with: 'hello' -> 'world' copy. Smalltalk garbageCollect. { dictionary values includes: nil. dictionary at: 'hello'. dictionary at: 'hello' ifAbsent: [ 'absent' ]. dictionary at: 'hello' ifAbsentPut: [ 'put' ]. }
is: #(true nil nil nil) Bug or feature? shouldn't the value be considered as absent instead of present (and nil). cheers, MartÃn