Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001076 [tweak] Any major always 04-14-05 15:26 04-29-05 04:54
Reporter bernd View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved  
Summary 0001076: Object to CObject - subclasses loosing all instancevariables
Description when the superclass of a class A changed from Object to CObject all subclasses of A looses their instance variables (thats bad...).

Also tried the other direction - this time all the generated accessing methods stay unmodified with their statements: "<bewareOf:..." and "propertyValueAt:..."
This happens in all subclasses and the class itself.

For the first case I awaited, that all variables change to fields, a notifier could appear when a generated accessingmethod will change an existing method.
Additional Information
Attached Files

- Relationships

- Notes
(0001378 - 100 - 100 - 100 - 100 - 100 - 100)
bernd
04-14-05 16:19

after another analysis, there're not lost, but they didn't move from instancevariables to classfieds
 
(0001403 - 158 - 158 - 158 - 158 - 158 - 158)
andreas
04-22-05 07:31

I just tried copying an Object subclass to a CObject subclass which seemed to work just fine - the iVars were converted to fields. What version are you using?
 
(0001414 - 217 - 223 - 223 - 223 - 223 - 223)
bernd
04-22-05 13:34

I have a class A and some subclasses of it A1, A2, A3. when I change the superclass of A , class A is fine, but it's subclasses are wrong...
(Squeak updateLevel 6638, tweak 1.0 last monticello-packages 1-2 weeks ago)
 
(0001448 - 112 - 112 - 112 - 112 - 112 - 112)
andreas
04-29-05 04:54

Now fixed. Also, iVars will remain iVars and no accessors will be generated not to clobber existing code. Enjoy.
 

- Issue History
Date Modified Username Field Change
04-14-05 15:26 bernd New Issue
04-14-05 16:19 bernd Note Added: 0001378
04-22-05 07:31 andreas Note Added: 0001403
04-22-05 07:31 andreas Status new => feedback
04-22-05 13:34 bernd Note Added: 0001414
04-29-05 04:54 andreas Status feedback => resolved
04-29-05 04:54 andreas Resolution open => fixed
04-29-05 04:54 andreas Assigned To  => andreas
04-29-05 04:54 andreas Note Added: 0001448
04-29-05 04:54 andreas Assigned To andreas =>


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
49 total queries executed.
36 unique queries executed.
Powered by Mantis Bugtracker