I didn't do anything like using these names as inst vars. You can reproduce what I am talking about:

KMCategory new inspect.

On 25/08/15 17:25, Joachim Tuchel wrote:
I don't have an exact answer for you, but I think neither self nor name are 
good names for inst vars.



Am 25.08.2015 um 15:57 schrieb Julien Delplanque <jul...@tamere.eu>:

Hi,

I have an object that override KMCategory and that is initialized and added to 
"KmRepository default" using #postLoadDoIt: message in BaselineOf after the 
package is loaded in an image.

But once it is loaded I have huge problems with keyboards entries, they do not 
work any more, I get an exception each time I press a key.

If I inspect the Singleton class variable of my category object I can see it contains an instance 
of my object that have its "self" variable nil and its "name" variable nil. 
Others variables look fine. How is it possible?

I can remove my custom KMCategory by copy/paste code from sublime text to Pharo 
and left click/do it and then everything is fine with my keyboard: no more 
exception and it behave correctly.

Thanks in advance,

Julien




Reply via email to