[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 16:20:12 PDT 2012


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



--- Comment #5 from Trey Brisbane <tbrisbane at hotmail.com> 2012-06-24 16:22:38 PDT ---
(In reply to comment #3)
> I believe that that's expected behavior.
> 
> Just rename the module so that it's all lowercase and the problem is solved.
> It's common practice to always name modules using only lowercase letters
> anyway.

(In reply to comment #4)
> 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.

Fair enough. :)
Thanks for your time.

-- 
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