Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1264.mcz==================== Summary ====================
Name: Kernel-mt.1264
Author: mt
Time: 5 September 2019, 10:28:08.130081 am
UUID: 212cd650-56f2-db43-b4ef-0a38d80dfbd7
Ancestors: Kernel-ul.1263
On class rename, use notification instead of dialog. Tools can then turn that notification into a dialog if needed.
=============== Diff against Kernel-ul.1263 ===============
Item was changed:
----- Method: Class>>rename: (in category 'class name') -----
rename: aString
"The new name of the receiver is the argument, aString."
| oldName newName |
(newName := aString asSymbol) = (oldName := self name)
ifTrue: [^ self].
(self environment includesKey: newName)
ifTrue: [^ self error: newName , ' already exists'].
((self environment undeclared includesKey: newName)
and: [(self environment undeclared unreferencedKeys includes: newName) not])
+ ifTrue: [Notification signal: 'There are references to ' , aString printString , '
- ifTrue: [self inform: 'There are references to ' , aString printString , '
from Undeclared. Check them after this change.'].
name := newName.
self environment renameClass: self from: oldName!