Hello,
When I delete a class, a window pop to inform me that some methods use this class. So I remove the methods because they are not usefull without my class to removed. But when I close the window, the methods stay on the Browser, so I remove this methods on the Browser. Then, I remove an other class and "BOOM" an error appears, the key which represents my class is not present in the SystemDictionnary (it's normal), but I can find the key in the RPackage metaclasses. |
do you have a reprocible case?
Stef Le 13/4/16 15:02, Yann Dubois a écrit : > Hello, > > When I delete a class, a window pop to inform me that some methods use > this class. So I remove the methods because they are not usefull > without my class to removed. > > But when I close the window, the methods stay on the Browser, so I > remove this methods on the Browser. > > Then, I remove an other class and "BOOM" an error appears, the key > which represents my class is not present in the SystemDictionnary > (it's normal), but I can find the key in the RPackage metaclasses. |
In reply to this post by Yann Dubois
Hello, First, which version of Pharo do you have? (run: Smalltalk lastUpdateString). Second, I cannot reproduce your bug. Can you create a simple and dummy example (with classes A and B for instance) that enlightens the problem? Cheers, Vincent
De : Pharo-users [mailto:[hidden email]]
De la part de Yann Dubois Hello, When I delete a class, a window pop to inform me that some methods use this class. So I remove the methods because they are not usefull without my class to removed. But when I close the window, the methods stay on the Browser, so I remove this methods on the Browser. Then, I remove an other class and "BOOM" an error appears, the key which represents my class is not present in the SystemDictionnary (it's normal), but I can find the key in the RPackage metaclasses. !!!************************************************************************************* "Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.!!!" |
In reply to this post by Yann Dubois
On Wed, Apr 13, 2016 at 9:02 PM, Yann Dubois <[hidden email]> wrote:
> Hello, > > When I delete a class, a window pop to inform me that some methods use this > class. So I remove the methods because they are not usefull without my class > to removed. > > But when I close the window, the methods stay on the Browser, so I remove > this methods on the Browser. > > Then, I remove an other class and "BOOM" an error appears, the key which > represents my class is not present in the SystemDictionnary (it's normal), > but I can find the key in the RPackage metaclasses. Partly it could be that Browser is not being told to update. If you can reproduce it, try opening a new second Browser before modifying anything more through the first Browser. cheers -ben |
For exemple I have 2 packages
PackageA - ClassA PackageB - ClassB #iDependToClassA #otherMethod I delete ClassA from the PackageA, so Pharo tell me that the method #iDependToClassA use the content of the ClassA. I delete the #iDependToClassA method but on the Browser, the method is not deleted. I remove the method on the Browser and then, At this moment, I see the methods was not deleted because it stay on the metaclass when I want get the method references of the ClassB (with RPackage>>methodReferences). Same think was happen after with a Class |
Free forum by Nabble | Edit this page |