Dec. 6, 2011
4:05 p.m.
On 06.12.2011 16:18, Mariano Martinez Peck wrote:
Hi guys. When printing compiled methods we get something like:
TestCase >> #assert: -> (TestCase>>#assert: "a CompiledMethod(585629696)")
Where the number is the #identityHash. I have never really needed that, and even more, I always want to print:
TestCase >> #assert: -> 'TestCase>>#assert:' Are you sure? Would have helped you at the start of http://forum.world.st/Problem-with-CompiledMethodTrailer-td3508018.html :)
So...my question is, is there any reason why it makes so much sense to print the identityHash of a CompiledMethod ?
Not really sure. It's just seems to have been that way for a long time. Cheers, Henry