[squeak-dev] [ANN] Fuel 1.8.1

Martin Dias tinchodias at gmail.com
Fri Feb 15 09:32:10 UTC 2013


On Thu, Feb 14, 2013 at 4:15 PM, Frank Shearar <frank.shearar at gmail.com> wrote:
> On 14 February 2013 10:30, Martin Dias <tinchodias at gmail.com> wrote:
>> Hi
>> Just looking at the test that is failing (#testSmalltalkGlobals) and
>> the error (a DoIt method can't be materialized), it makes me wonder
>> why a method is being serialized in this method. There is the problem,
>> I guess.
>>
>> To reproduce what the test is serializing you can inspect:
>>
>> | anObject aStream |
>> anObject := Smalltalk globals.
>> aStream := (MultiByteBinaryOrTextStream on: '') binary.
>>
>> (FLSerializer newDefault
>>    serialize: anObject
>>    on: aStream)
>>    objects.
>>
>> I get this in Pharo:
>>
>> an Array(a SystemDictionary(lots of globals) true false nil)
>
> What does `Smalltalk globals` return in Pharo? Does it directly match
> what #objects returns?

"Smalltalk globals" answers the unique instance of SystemDictionary...
the others are some extra objects that fuel adds


More information about the Squeak-dev mailing list