[Pharo-project] Issue 3397 in pharo: Behaviour>> #adoptInstance:
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)
Updates: Status: Fixed Comment #1 on issue 3397 by rydier: Behaviour>> #adoptInstance: http://code.google.com/p/pharo/issues/detail?id=3397 SLICE-Issue3397-Behavior-adoptInstance in inbox
Updates: Labels: Type-RequestForEnhancement Comment #2 on issue 3397 by rydier: Behaviour>> #adoptInstance: http://code.google.com/p/pharo/issues/detail?id=3397 (No comment was entered for this change.)
Updates: Status: Closed Comment #3 on issue 3397 by stephane.ducasse: Behaviour>> #adoptInstance: http://code.google.com/p/pharo/issues/detail?id=3397 in 12275
participants (1)
-
pharo@googlecode.com