Re: [Pharo-project] Compiler bug!!!

2012-03-20 Thread Igor Stasenko
The problem is with #newTemp: used for binding a temporary in a block argument - [:foo ] which increments the total number of temps in encoder (nTemps).. and as result, at the point where #fixTemp: is sent, the nTemps = 2, while actually should be = 1. resulting that error code temp having

Re: [Pharo-project] Compiler bug!!!

2012-03-20 Thread Igor Stasenko
here the fix.. i can't say that i like it.. but it works. compiler-errornode-fix.1.cs Description: Binary data

Re: [Pharo-project] Compiler bug!!!

2012-03-20 Thread Marcus Denker
On Mar 20, 2012, at 5:42 PM, Igor Stasenko wrote: here the fix.. i can't say that i like it.. but it works. compiler-errornode-fix.1.cs http://code.google.com/p/pharo/issues/detail?id=5528 -- Marcus Denker -- http://marcusdenker.de

Re: [Pharo-project] Compiler bug!!!

2012-03-20 Thread Eliot Miranda
Igor, great catch. I prefer the attached. Strictly, the index needs to be fixed correctly before the node's size is determined, since it could change (not in this bytecode set, but in some future one it could). On Tue, Mar 20, 2012 at 8:38 AM, Igor Stasenko siguc...@gmail.com wrote:

Re: [Pharo-project] Compiler bug!!!

2012-03-20 Thread Igor Stasenko
On 20 March 2012 20:00, Eliot Miranda eliot.mira...@gmail.com wrote: Igor,     great catch. well.. i lies on the surface, but since nobody else tried to play with error codes, i was sitting undiscovered :)  I prefer the attached.  Strictly, the index needs to be fixed correctly before the