For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > April 2006 > refactoring a class causes parcel bug?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author refactoring a class causes parcel bug?
johntrinder@metronet.co.uk

2006-04-25, 7:15 pm

I decided to reload a project's parcels into a pristine image and
experienced partial loading of the one parcel. On investigation I
discovered that an instance variable was registered as 'Unparceled' as
well as registered with the parcel it was supposed to. A workaround was
that I renamed the iVar and renamed it to it's original and the
Unparceled tag disappeared thus enabling me to load the parcel into my
pristine image successfully.
The cause of this seemed to be that I refactored a class via 'Create
Subclass' and either created the instance variable or refactored that
as well by pushing up/down. Unfortunately I refactored the class a
month or so ago and never spotted the glitch - so I've forgotten
exactly what I did.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com