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