Comment #0 by timothee.cour2 — 2016-07-19T00:59:25Z
This is inconsistent:
version(with_import)
should not affect visibility of symbol bar, given that we have 'import test3' but not 'public import test3'
----
dmd -c -o- -version=with_import main.d
ok
dmd -c -o- main.d
test.d(2): Error: module test4 import 'bar' not found
using DMD64 D Compiler v2.071.1
----
main.d:
import test;
test.d:
import test4:bar;
test3.d:
void bar();
test4.d:
version(with_import)
import test3;
Comment #1 by razvan.nitu1305 — 2018-01-25T11:36:46Z