Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006986 [Squeak] System minor always 03-21-08 23:15 03-22-08 00:25
Reporter nicolas cellier View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.10
Summary 0006986: SystemNavigation browseAllMethodsInCategory: does it wrong
Description Try:

SystemNavigation default browseAllMethodsInCategory: 'deprecated'.

You will get a list with a lot of inexisting methods.
Additional Information There is an expectation mismatch:

SystemNavigation>>#allMethodsInCategory: expects methods from local methodDictionary,

while ClassDescription>>#allMethodsInCategory: will answer methods from local and allSuperclasses methodDictionary

Hence the dumb list returned
Attached Files  SystemNavigation-allMethodsInCategory-Test-M6986-nice.1.cs [^] (1,345 bytes) 03-21-08 23:40
 SystemNavigation-allMethodsInCategory-Patch-M6986-nice.1.cs [^] (2,643 bytes) 03-22-08 00:25

- Relationships

- Notes
(0011948 - 321 - 360 - 360 - 360 - 360 - 360)
nicolas cellier
03-22-08 00:19

Hmm, it seems that TraitDescription>>>#allMethodsInCategory: would do the right thing... But what relation with ClassDescription ?
OK, allBehaviors does also walk other Traits...

Ah Ah, a method in Trait that is not factored by Traits ?

I can tell it adds complexity, to what i thought would be an obvious patch...
 

- Issue History
Date Modified Username Field Change
03-21-08 23:15 nicolas cellier New Issue
03-21-08 23:40 nicolas cellier File Added: SystemNavigation-allMethodsInCategory-Test-M6986-nice.1.cs
03-22-08 00:19 nicolas cellier Note Added: 0011948
03-22-08 00:25 nicolas cellier File Added: SystemNavigation-allMethodsInCategory-Patch-M6986-nice.1.cs


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