j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Hi.
I just upgraded from 1.23 to 1.31, saved all the changes and file them into 1.31. And then, error! (But hey, this is Smalltalk, so let's debug it instead of calling tech support at 2am). The #rename: method in Class answers an error if you try to rename it to its name. Should it answer an error telling you that you tried to rename a class to an existing class which in fact is the class itself, or just rename itself to itself? Like, doing something as this:
newName = self name ifTrue: [^self].
This brings another question. How come the Change Sorter wrote down a rename-to-yourself? In fact, it also wrote down another rename that failed... odd.
Andres.
squeak-dev@lists.squeakfoundation.org