Fix for #ifDefNil: must take 0 arg block

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

Fix for #ifDefNil: must take 0 arg block

Piers Cawley
While fossicking around in my Squeak image (a recent version of Damien
Cassou's developer images), I tripped over the bug that the compiler
things #ifDefNil: must take a 0 argument block and, after an
entertaining journey into the heart of stuff I don't quite understand,
I've fixed it. I enclose the changeset.



ifNotNilFix.1.cs (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fix for #ifDefNil: must take 0 arg block

Giovanni Corriga
Il giorno mer, 20/06/2007 alle 22.33 +0100, Piers Cawley ha scritto:
> While fossicking around in my Squeak image (a recent version of Damien
> Cassou's developer images), I tripped over the bug that the compiler
> things #ifDefNil: must take a 0 argument block and, after an
> entertaining journey into the heart of stuff I don't quite understand,
> I've fixed it. I enclose the changeset.

Hi Piers,

it looks like this is a known bug:
http://bugs.squeak.org/view.php?id=6426 . Would you mind adding your fix
to it?

        Giovanni


Reply | Threaded
Open this post in threaded view
|

Re: Fix for #ifDefNil: must take 0 arg block

Igor Stasenko
On 21/06/07, Giovanni Corriga <[hidden email]> wrote:

> Il giorno mer, 20/06/2007 alle 22.33 +0100, Piers Cawley ha scritto:
> > While fossicking around in my Squeak image (a recent version of Damien
> > Cassou's developer images), I tripped over the bug that the compiler
> > things #ifDefNil: must take a 0 argument block and, after an
> > entertaining journey into the heart of stuff I don't quite understand,
> > I've fixed it. I enclose the changeset.
>
> Hi Piers,
>
> it looks like this is a known bug:
> http://bugs.squeak.org/view.php?id=6426 . Would you mind adding your fix
> to it?
>
Yes, i think this is what we need to fix it! :)
How well VM handles 1-arg blocks in this case?