[Issue 10378] Local imports hide local symbols

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 16 11:44:56 PDT 2013


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


Peter Alexander <peter.alexander.au at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


--- Comment #2 from Peter Alexander <peter.alexander.au at gmail.com> 2013-06-16 11:44:54 PDT ---
Example was invalid, here's a better one:

string message = "Hello, world!";
void main()
{
    import std.stdio;
    writeln(message);
}

Also, re-opening. This isn't a dupe. The other bug is just that the semantics
are undocumented, not that the behaviour is incorrect. If the current behaviour
is documented then the other bug may be closed, but this bug will still be
present, so they are not the same bug.

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