Issue 3799 in pharo: CompiledMethod equality

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3799 in pharo: CompiledMethod equality

pharo
Status: Accepted
Owner: [hidden email]

New issue 3799 by [hidden email]: CompiledMethod equality
http://code.google.com/p/pharo/issues/detail?id=3799

is that normal:

(Boolean>>#&) = (Boolean>>#|) ====> true


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3799 in pharo: CompiledMethod equality

pharo
Updates:
        Status: WontFix

Comment #1 on issue 3799 by marianopeck: CompiledMethod equality
http://code.google.com/p/pharo/issues/detail?id=3799

yes, it is. I have already suffered that. Use IdentityDictionary or similar  
instead ;)
Check this:  
http://forum.world.st/problem-with-CompiledMethod-equality-td2221276.html

Summary: from my point of view, it is correct: the COMPILED method is  
equal. It doesn't matter wheter they come from (in which class they are).  
Notice that the name is CompiledMethod, and not Method. So, I think it is  
correct as it is. Of course, I realised this after all that long thread ;)