Pharo 4.0 MethodContext Fuel

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

Pharo 4.0 MethodContext Fuel

Johannes Rasche Kreuzberg
Hi there,

I'm still migration some stuff to Pharo 4.0

and am aware of the fact that MethodContext was deprecated and Context has to be used instead

I'm migrating objects from Pharo 3 using Fuel - that works fine -

except if an object is an instantion of a class containing blockclosures

any advice ?

thanks in advance

Johannes
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 4.0 MethodContext Fuel

Mariano Martinez Peck
Hi Johannes,

MethodContext are a bit complicated as you know. However, remembering a bit the code, i THINK the class migration hook may work with it. Have you read: http://rmod.inria.fr/web/software/Fuel/Version1.9/Documentation/Migration

Try the materialization with something like:

FLMaterializer newDefault
migrateClassNamed: #MethodContext
toClass: Context.

Cheers,



On Tue, Jun 16, 2015 at 5:02 AM, Johannes Rasche Kreuzberg <[hidden email]> wrote:
Hi there,

I'm still migration some stuff to Pharo 4.0

and am aware of the fact that MethodContext was deprecated and Context has to be used instead

I'm migrating objects from Pharo 3 using Fuel - that works fine -

except if an object is an instantion of a class containing blockclosures

any advice ?

thanks in advance

Johannes



--
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 4.0 MethodContext Fuel

Johannes Rasche Kreuzberg
Am 16.06.15 um 13:16 schrieb Mariano Martinez Peck:
FLMaterializer newDefault
migrateClassNamed: #MethodContext
toClass: Context.

Great Mariano, many Thanks