[Issue 16435] New: Wrong error message for bad selective import
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 27 05:09:09 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16435
Issue ID: 16435
Summary: Wrong error message for bad selective import
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: john.loughran.colvin at gmail.com
% tree
.
└── a
└── b
├── c.d
└── f.d
2 directories, 2 files
% cat a/b/c.d
module a.b.c;
import a.b.f : A;
% cat a/b/f.d
import a.b.c;
% dmd a/b/c.d
a/b/c.d(2): Deprecation: a.b.c.A is not visible from module c
a/b/c.d(2): Deprecation: a.b.c.A is not visible from module c
a/b/c.d(2): Error: alias a.b.c.A recursive alias declaration
which really makes no sense...
--
More information about the Digitalmars-d-bugs
mailing list