Bug 13192 – Repeated import qualifiers sometimes go unchecked.

Status
NEW
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2014-07-22T18:49:56Z
Last change time
2024-12-13T18:22:43Z
Assigned to
No Owner
Creator
Paul D. Anderson
Moved to GitHub: dmd#18856 →

Comments

Comment #0 by paul.d.anderson — 2014-07-22T18:49:56Z
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"
Comment #1 by robert.schadek — 2024-12-13T18:22:43Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18856 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB