Status: New
Owner: ----
Labels: Milestone-2.0 Type-Nautilus
New issue 6072 by
[hidden email]: Instance variables not properly added
to the class definition
http://code.google.com/p/pharo/issues/detail?id=6072When declaring instance variables that do not exist into an #initialize
method, they are being added to the following:
expected:
Object subclass: #Person
instanceVariableNames: 'first_name last_name'
classVariableNames: ''
poolDictionaries: ''
category: 'Person-Demo'
actual:
Person class
instanceVariableNames: 'first_name last_name'
However, they should appear within the following:
Setup:
a) Mac OS 10.7.4
b) Pharo2.0a - #20043
Steps:
1. Create a new class.
2. Add initialize method to the instance side. For example,
initialize
"Initialization code for Person class"
super initialize.
first_name := 'Conrad'.
last_name := 'Taylor'.
^self
3. Command + s
4. Now, you'll be asked to fix the missing symbols by clicking 'declare
instance'.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker