Mantis - Squeak
Viewing Issue Advanced Details
7595 Tools minor always 01-09-11 11:36 01-16-11 21:12
FrankShearar  
FrankShearar  
normal  
@60@ trunk  
open  
none    
none  
0007595: MessageNames, looking at Undeclared: MNU #allSuperclassesDo:
1. Search for "undec" in the toolbar.
2. Scroll down a bit to see "Undeclared".
3. Select "Undeclared".

Two MNU walkbacks:
* Dictionary(Object)>>doesNotUnderstand: #allSuperclassesDo:
* Dictionary(Object)>>doesNotUnderstand: #compiledMethodAt:ifAbsent:
This report is explicitly for the #allSuperclassesDo:. A superficial look at the call stack makes the two MNUs appear, at least, distinct. I'm creating a separate, related, bug report for the #compiledMethodAt:ifAbsent: MNU.
related to 0007596resolved FrankShearar MessageNames, looking at Undeclared: MNU #allSuperclassesDo: 

Notes
(0014016)
FrankShearar   
01-09-11 15:07   
In MessageNames>>selectedClassOrMetaclass we have:

    Smaltalk classNamed: (self selectorList at: self selectorIndex

(We'll ignore for the moment that this should say Smalltalk classNamed: self selectedMessageName.)

Problem: "Smalltalk classNamed: Undeclared" happily returns something, even though Undeclared is NOT A CLASS.

Maybe SystemDictionary>>classOrTraitNamed: needs to check that the key is actually a Class (or a Behavior?) and return something only if the key is a class.
(0014023)
FrankShearar   
01-14-11 12:28   
Possible fix uploaded to the Inbox:
* http://source.squeak.org/inbox/System-fbs.410.mcz [^]
* http://source.squeak.org/inbox/Tests-fbs.109.mcz [^]