[7.5 BUG} MethodCollector>>nameSpace: doesn't handle nested namespaces

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[7.5 BUG} MethodCollector>>nameSpace: doesn't handle nested namespaces

Randy Coulman
I just ran across this today.

mc := MethodCollector new.
mc browseSelect: (mc nameSpace: Refactory.Browser)

This results in a "No methods found" message.

The reason is because the MethodFilterNameSpace is constructed on the namespace's name, which is #Browser, rather than the namespace itself.  Consequently, MethodFilterNameSpace>>nameSpace can't find the original namespace.

Randy
--
Randy Coulman
[hidden email]