On Thu, Feb 14, 2013 at 4:15 PM, Frank Shearar frank.shearar@gmail.com wrote:
On 14 February 2013 10:30, Martin Dias tinchodias@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