Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001764 [Squeak] Traits feature always 09-02-05 22:19 01-08-08 23:41
Reporter cdavidshaffer View Status public  
Assigned To dvf
Priority normal Resolution open  
Status acknowledged   Product Version 3.9
Summary 0001764: Browsing references to a trait shows nothing
Description In OB selecting "references" when a trait is selected gives an empty list. I believe it makes sense to show all classes which use that trait.
Additional Information
Attached Files

- Relationships

- Notes
(0002600 - 163 - 163 - 163 - 163 - 163 - 163)
dvf
09-05-05 06:25

I consider this a bug. Traits usage is certainly a reference in the sense that a class reference its superclass. So it should definitely be as the report suggests.
 
(0002610 - 825 - 865 - 865 - 865 - 865 - 865)
user291
09-05-05 15:48

Yes...just continuing from your thoughts a bit. Browsing references to a class doesn't yield subclasses but noone currently expects it to (since such things are easily found in one spot in a hierarchy browser). However finding all users of a trait has no analog to this currently. My original thought was that "references" makes sense for this purpose. Maybe doing so would be inconsistent with class hierarchies but it seems to me to be simple and obvious. Still, I think we should be ready to answer the question "then why doesn't browsing references to a class include subclasses?". We could avoid this by having a menu item (which only appears for Traits) labeled "users". Then "references" would simply be less useful for traits since they are seldom directly referenced in methods. Anyway, just some thoughts...
 

- Issue History
Date Modified Username Field Change
09-02-05 22:19 user291 New Issue
09-05-05 06:25 dvf Note Added: 0002600
09-05-05 10:13 dvf Status assigned => acknowledged
09-05-05 15:48 user291 Note Added: 0002610
01-08-08 23:41 KenCausey Reporter user291 => cdavidshaffer


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