https://d.puremagic.com/issues/show_bug.cgi?id=11794
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Andrej Mitrovic <[email protected]> 2013-12-22 01:18:03 PST --- (In reply to comment #0) > I'm not sure whether this is a problem with my code or a bug. I think it's a duplicate report, I've seen this before. When you use selective imports you cannot use the fully qualified name of the symbol, e.g.: ----- import std.stdio : writeln; void main() { std.stdio.writeln("foo"); // error } ----- This is by design. However, for some reason "std.conv" is available when you import std.stdio, but I think this is a dupe report. Here's the accepts-invalid test case: ----- import std.stdio; void main() { std.conv.to!int("1"); // this should be an error.. } ----- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
