Frankly, I often find weird to override #=

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



> On Jul 30, 2015, at 11:41 AM, Peter Uhnák <i.uh...@gmail.com> wrote:
> 
> I think it's because somewhere in roassal
> objects (in this case ast nodes) are compared by value.
> 
> Pretty much; there is test for equality
> 
> RTGroup>>elementFromModel: anObject
>     ^ self detect: [ :el | el model = anObject ] ifNone: [ nil ]
> 
> and equality is more often than not wanted.
> 
> So solution might be to tell Mondrian that you want to compare by identity 
> and not equality?
> 
> Peter

Reply via email to