Issue 7646 in pharo: ProtoObjects instances does not understand class

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

Issue 7646 in pharo: ProtoObjects instances does not understand class

pharo
Status: FixReviewNeeded
Owner: [hidden email]
Labels: Type-Bug Milestone-3.0 Difficulty-Easy

New issue 7646 by [hidden email]: ProtoObjects instances does not  
understand class
http://code.google.com/p/pharo/issues/detail?id=7646

ProtoObject new class does not work (image freezes)

Previously, the class message was a bytecode in smalltalk so it worked in  
ProtoObject instances.

I would like to be able to send class to instances of ProtoObject because  
if you reimplement a lookup in the image you have issues with instances of  
protoObjects (lookup need to access the class). The lookup in the cog works  
because it is implemented in a low level way that does not need the class  
message.

I propose a fix where I move the class method from Object to ProtoObject.

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7646 in pharo: ProtoObjects instances does not understand class

pharo

Comment #1 on issue 7646 by [hidden email]: ProtoObjects instances  
does not understand class
http://code.google.com/p/pharo/issues/detail?id=7646

slice in inbox :)

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7646 in pharo: ProtoObjects instances does not understand class

pharo

Comment #2 on issue 7646 by marianopeck: ProtoObjects instances does not  
understand class
http://code.google.com/p/pharo/issues/detail?id=7646

Ok....just to let you know in case you are not aware. Remember you can  
always evaluate a compiled method over a reciever without actually send a  
message to it. Mostly, if the method is a primitive one. So you can do:


CompiledMethod receiver: 'myObject' withArguments: #() executeMethod:  
(Object >> #class)

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker