2009/7/3 Cyrille Delaunay <cy.delaunay@gmail.com>:
SmallDictionary, unlike all subclasses of Dictionary, never used ( and initialize ) the instance variable: 'array'. Associations are stored with a key array ( called 'keys' ) and a value array ( 'values' ). Problem is that the method #scanFor: is define in Dictionary ( and not overriden ) with this code : scanFor: anObject | element start finish | finish := array size.      .... 'array' is  nil and it cause bugs for those methods : -> #includesAssociation: -> #associationAt: -> #associationAt:ifAbsent: -> #associationDeclareAt:
Please have a look at http://code.google.com/p/pharo/issues/detail?id=463 and comment. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry