Monticello: AnObsoleteClass???

Bert Freudenberg bert at freudenbergs.de
Sun Apr 29 13:09:27 UTC 2007


On Apr 29, 2007, at 4:24 , Michael van der Gulik wrote:

> I've discovered what happened; it was really quite simple.
>
> I implemented a method:
>
> MCNamespacedMczWriter>>snapshotWriterClass
> 	^ MCNamespacedStWriter.
>
> Then I deleted MCNamespacedStWriter for some reason; then I decided  
> that it was worth keeping after all and added it again. Obviously  
> what happened was that MCNamespacedStWriter was obsoleted making  
> the literal association in the compiled method refer to the  
> obsoleted class.
>
> When you remove a class, is there an easy way to find all  
> "references" to that class in a similar way to how all senders of a  
> method can be found? If so, then I consider the above to be a bug;  
> the browser should have alerted me to the fact that there were  
> references to that class from some methods.

	SomeClass allCallsOn

- Bert -





More information about the Squeak-dev mailing list