CompiledMethod>>= / BlockClosure>>= stack overflow bug

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

CompiledMethod>>= / BlockClosure>>= stack overflow bug

John Brant
I performed a convert to instance variable refactoring and got a stack
overflow error. It was trying to compare two CompiledMethod. The
CompiledMethod>>= method sends equal to the literal arrays which sends
#= to each element. If one of the elements is a BlockClosure, the
BlockClosure>>= method then sends #= to the CompiledMethod.


John Brant


Reply | Threaded
Open this post in threaded view
|

Re: CompiledMethod>>= / BlockClosure>>= stack overflow bug

Blair McGlashan-3
"John Brant" <[hidden email]> wrote in message
news:yWEwf.476331$084.126451@attbi_s22...
>I performed a convert to instance variable refactoring and got a stack
> overflow error. It was trying to compare two CompiledMethod. The
> CompiledMethod>>= method sends equal to the literal arrays which sends
> #= to each element. If one of the elements is a BlockClosure, the
> BlockClosure>>= method then sends #= to the CompiledMethod.
>

Hmmm, tricky.

Thanks John, recorded as #2067.

Regards

Blair