digitalmars.D.bugs - [Issue 13192] New: Repeated import qualifiers sometimes go unchecked.
- via Digitalmars-d-bugs (22/22) Jul 22 2014 https://issues.dlang.org/show_bug.cgi?id=13192
https://issues.dlang.org/show_bug.cgi?id=13192 Issue ID: 13192 Summary: Repeated import qualifiers sometimes go unchecked. Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: minor Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: paul.d.anderson comcast.net Doubled (or tripled, etc.) import qualifiers are accepted in some cases. auto m = std.math.std.math.std.math.abs(-32.33); // no error std.stdio.std.stdio.writeln("123"); // no error auto fmt = std.array.std.array.appender!(string)(); // no error auto ms = std.mathspecial.std.mathspecial.gamma(0.5); // error "undefined identifier mathspecial" import std.stdio.std.stdio : writeln; // error "module stdio is in file 'std/stdio/std' which cannot be read" --
Jul 22 2014