Status: Started Owner: rydier Labels: Milestone-1.2 New issue 3397 by rydier: Behaviour>> #adoptInstance: http://code.google.com/p/pharo/issues/detail?id=3397
This is a method originally found in VisualWorks, and offers a nicer interface to use than changeClassToThatOf: for switching the class of an instance.
Cog has added primitive support for this, the fallback code uses the equivalent primitiveChangeClassTo: which works in non-Cog vms. (But takes an instance rather than a class, usually not very convenient when you want to use it)
