foo\bar.d:
module foo.bar;
private class Foo {}

main.d:
import foo.bar : Foo;
void main()
{
        auto foo = new Foo();
}

This should be a compile error, no?

Reply via email to