On Monday, 1 December 2014 at 20:29:48 UTC, Daniel Kozak via
Digitalmars-d wrote:
Dne Mon, 01 Dec 2014 18:10:35 +0100 Jeremy DeHaan via
Digitalmars-d <[email protected]> napsal(a):
I don't think you can specify look ups with the name of the
module in the same module like you can with imported ones. If
you want to specify that it is a variable in module scope, use
the module scope operator.
writeln(.a); // the leading '.' specifies module scope
You can. It doesn't work only when there is a another symbol
with same name as a module. But it makes a sense.
I don't see it mentioned at all in this:
http://dlang.org/module.html
It sounds like something was over looked. Either you shouldn't be
able to specify with the module name in the same module, or you
shouldn't be getting this error.