[Issue 8287] When a class with the same name as a module exists within that module and has static members, you're required to do modulename.classname.member() in order to access said members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 24 10:54:57 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8287


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bearophile_hugs at eml.cc
         Resolution|                            |FIXED


--- Comment #4 from bearophile_hugs at eml.cc 2012-06-24 10:57:19 PDT ---
I think D is working as designed here. Class and struct names start with an
upper case, while modules start with a lower case. I suggest to close this bug
report as wontfix.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list