Comment 0 for bug 1530865

Revision history for this message
hilaire (hilaire-fernandes) wrote :

With need specialized methods to compare considering the block of code as well, otherwise we are limited by the unicity check to one point per parent combination:

DrGPointBlockItem>>pointBlock
 ^ pointBlock

DrGPointBlockItem>>= aMathItem
 ^ super aPointBLock = aMathItem and: [ pointBlock = aMathItem ]

DrGPointBlockItem>>rehash
 ^hash := super rehash bitXor: pointBlock hash