[Issue 7494] Selective import does not work inside a function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 18 12:55:36 PST 2012


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #6 from bearophile_hugs at eml.cc 2012-02-18 12:55:34 PST ---
Now this compiles:

void main() {
    import std.stdio: writeln;
}


While here it doesn't find writeln():

void main() {
    import std.stdio: writeln;
    writeln(1);
}

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