Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007595 [Squeak] Tools minor always 01-09-11 11:36 01-16-11 21:12
Reporter FrankShearar View Status public  
Assigned To FrankShearar
Priority normal Resolution open  
Status pending   Product Version trunk
Summary 0007595: MessageNames, looking at Undeclared: MNU #allSuperclassesDo:
Description 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:
Additional Information 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.
Attached Files

- Relationships
related to 0007596resolved FrankShearar MessageNames, looking at Undeclared: MNU #allSuperclassesDo: 

- Notes
(0014016 - 495 - 585 - 585 - 585 - 585 - 585)
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 - 140 - 152 - 446 - 446 - 446 - 446)
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 [^]
 

- Issue History
Date Modified Username Field Change
01-09-11 11:36 FrankShearar New Issue
01-09-11 11:37 FrankShearar Relationship added related to 0007596
01-09-11 11:41 FrankShearar Summary Message Names, looking at Undeclared: MNU #allSuperclassesDo: => MessageNames, looking at Undeclared: MNU #allSuperclassesDo:
01-09-11 15:07 FrankShearar Note Added: 0014016
01-14-11 12:28 FrankShearar Note Added: 0014023
01-14-11 12:28 FrankShearar Status new => assigned
01-14-11 12:28 FrankShearar Assigned To  => FrankShearar
01-16-11 21:12 FrankShearar Status assigned => pending


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
44 total queries executed.
33 unique queries executed.
Powered by Mantis Bugtracker