Re: [Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023

2017-01-19 Thread Davide Varvello
Thanks guys, The forum.world.st didn't send me your replies and only now I'm aware of your replies. Thanks again Davide Clément Bera-4 wrote > Hi, > > This will be fixed by using the alternative bytecode set, likely in the > next few weeks in Pharo 6 alpha/beta. Basically control flow messages

Re: [Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023

2016-12-07 Thread stepharong
Thanks clement for your steady push in that direction. On Wed, 07 Dec 2016 19:17:26 +0100, Clément Bera wrote: Hi, This will be fixed by using the alternative bytecode set, likely in the next few weeks in Pharo 6 alpha/beta. Basically control flow messages

Re: [Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023

2016-12-07 Thread Eliot Miranda
On Wed, Dec 7, 2016 at 11:26 AM, Jan Vrany wrote: > On Wed, 2016-12-07 at 11:10 -0800, Eliot Miranda wrote: > > > > > > On Wed, Dec 7, 2016 at 9:52 AM, Marcus Denker > > wrote: > > > Hello, > > > > > > The current bytecode limited the size of

Re: [Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023

2016-12-07 Thread Jan Vrany
On Wed, 2016-12-07 at 11:10 -0800, Eliot Miranda wrote: > > > On Wed, Dec 7, 2016 at 9:52 AM, Marcus Denker > wrote: > > Hello, > > > > The current bytecode limited the size of jumps. > > > > This means that you will get this error if your mehthods are so > > complex

Re: [Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023

2016-12-07 Thread Eliot Miranda
On Wed, Dec 7, 2016 at 9:52 AM, Marcus Denker wrote: > Hello, > > The current bytecode limited the size of jumps. > > This means that you will get this error if your mehthods are so complex > that they > require a jump too large. > > Solution: refactor to simplify. > > We

Re: [Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023

2016-12-07 Thread Clément Bera
Hi, This will be fixed by using the alternative bytecode set, likely in the next few weeks in Pharo 6 alpha/beta. Basically control flow messages (ifTrue:, to:do:, etc.) cannot have too many statements in their blocks (ifTrue: argument, to:do: second arguments, etc) or the compiler can't compile

Re: [Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023

2016-12-07 Thread Marcus Denker
Hello, The current bytecode limited the size of jumps. This means that you will get this error if your mehthods are so complex that they require a jump too large. Solution: refactor to simplify. We should improve the error message to explain that. (this will not happen anymore when the new

[Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023

2016-12-07 Thread Davide Varvello via Pharo-dev
--- Begin Message --- Hi, Sometimes (and also today) after formatting and saving a method, an Error is thrown. Following a chunk of PharoDebug.log TIA Davide - THERE_BE_DRAGONS_HERE Error: genJumpLong: distance index 1043 is out of range -1024 to 1023 7 December 2016