Issue 3397 in pharo: Behaviour>> #adoptInstance:

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

Issue 3397 in pharo: Behaviour>> #adoptInstance:

pharo
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)



Reply | Threaded
Open this post in threaded view
|

Re: Issue 3397 in pharo: Behaviour>> #adoptInstance:

pharo
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


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3397 in pharo: Behaviour>> #adoptInstance:

pharo
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.)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3397 in pharo: Behaviour>> #adoptInstance:

pharo
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