[Uml-devel] [Bug 83446] Can't have two classes in different packages named the same

Anthony Parent tonyp at pegasusda.com
Fri Jun 18 13:42:05 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=83446      




------- Additional Comments From tonyp pegasusda com  2004-06-18 22:10 -------
> However, Foo::Foo2::bar has visibility of Foo::bar which
> in turn has visibility of (i.e. re-declares) ::bar.
> Now, it might be that a given programming language has
> a rule that says that inner declarations hide same-named
> outer declarations, but that behaviour is still programming
> language dependent.

OK, I understand that a specific language may not handle this type of declaration hiding. However, does it make more sense to put the smarts for this in the UML editor, or in the code generation? Just my $0.02, the smarts for different languages should be in the I/O for the particular language, not burried in the more generic UML editor. (Some languages don't handle enums or for that matter namespaces, but that doesn't mean we leave them out of the UML diagrams.) 

I think umbrello is a great tool, and getting better all the time, allowing this type of (IMHO) just another increment towards being the best.




More information about the umbrello-devel mailing list