https://issues.dlang.org/show_bug.cgi?id=17434
Issue ID: 17434
Summary: [REG: 2.073] import lookup ignores public import.
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Created attachment 1647
--> https://issues.dlang.org/attachment.cgi?id=1647&action=edit
Test case
Since dmd version 2.073 the attached test case generates a deprecation warning:
> $dmd *.d test/*.d
> main.d(7): Deprecation: imp.test is not visible from module main
Swapping the imports in imp.d so that the public import is listed first fixes
the warning.
This seems related to #15900.
--