Lukas, now I have another problem. I am not sure if it is OB latest code related, but I think so.
If you take any class, suppose RBSemanticTest and go to its definition. Change it so that it extends from ProtoObject instead of TestCase. When you accept the code (save it), the browser goes directly to Browse ProtoObject, actually to :
ProtoObject subclass: #ProtoObject
��� instanceVariableNames: ''
��� classVariableNames: ''
��� poolDictionaries: ''
��� category: 'Kernel-Objects'.
ProtoObject superclass: nil
and then RBSemanticTest is not changed at all.
Thanks!
Mariano
Thanks Lukas. It is working now.
Cheers
MarianoOn Thu, Sep 30, 2010 at 8:44 PM, Lukas Renggli <renggli@gmail.com> wrote:
The latest OB and Refactory code should fix this and a couple of related issues.
Lukas
On 30 September 2010 12:11, Lukas Renggli <renggli@gmail.com> wrote:
> Strange, I'll look into it later today.
>
> Lukas
>
> On Thursday, September 30, 2010, Mariano Martinez Peck
> <marianopeck@gmail.com> wrote:
>> Hi Lukas. I am using latest OB + RB in PharoDev 1.1 and I have a problem trying to add a class variable.
>>
>> To reprpoduce
>> 1) take any class, for example TestCase.
>> 2) Go to the class side
>> 3) add a class side variable. For example:
>>
>> TestCase class
>> ��� instanceVariableNames: 'history something'
>>
>> 4) The problem is in
>>
>> �InteractiveAddClassChange >> definingSuperclass
>> ��� ^ Smalltalk globals at: self superclassName
>>
>>
>> since self superclassName answers nil, because
>>
>>
>> AddClassChange class >> superclassName
>> ��� className isNil
>> ��� ��� ifTrue: [ self fillOutDefinition ].
>> ��� ^ superclassName
>>
>> className prints ->� #'Unknown Class'
>>
>> I attach PharoDebug.log also.
>>
>> Cheers
>>
>> Mariano
>>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>
--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project