[squeak-dev] Class with nil environment?!

Frank Shearar frank.shearar at gmail.com
Wed Jul 10 18:21:56 UTC 2013


On 10 July 2013 19:02, Colin Putney <colin at wiresong.com> wrote:
>
>
>
> On Wed, Jul 10, 2013 at 6:52 AM, Frank Shearar <frank.shearar at gmail.com>
> wrote:
>
>>
>> Er, so should we ever have classes with a nil environment? Is my
>> proposed change a stinky hack, or the right thing to do to lazily fix
>> the issue?
>
>
> We should never have classes with a nil environment.


OK, that's what I thought. But I have such an image. In fact, I
daresay that every alpha image produced in the 4.5 line has for months
and months had such classes. Making #declare: use the #environment
method instead of directly accessing the instvar "solves" the problem
- Morphic-fbs.633 will load - but I have no idea if that's a good
solution, or a bad, bad bandaid.

frank


More information about the Squeak-dev mailing list