[Issue 17630] selective imports find symbols in private imports of other modules

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 19 01:54:14 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17630

Timothee Cour <timothee.cour2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2 at gmail.com

--- Comment #6 from Timothee Cour <timothee.cour2 at gmail.com> ---
just to make sure this is the same bug right?

```
// fun.d:
module fun;
import std.stdio;
// main.d:
import fun:writeln; // should not compile
void main(){ writeln("ok"); }
```

`rdmd main.d` works but should not compile

--


More information about the Digitalmars-d-bugs mailing list