[Issue 19103] Can imports symbols in module to a struct with mixin.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 20 00:55:59 UTC 2018


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

Seb <greeenify at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify at gmail.com

--- Comment #1 from Seb <greeenify at gmail.com> ---
> This bug seems to be from dmd 2.080.0 to current nightly build.

I'm not sure it's a regression, because that's what DMD is doing since 2.071:

https://run.dlang.io/is/nhCVXe

Before 2.071, there was only one global import namespace, which is why this
probably worked before.
The interesting thing is that only since 2.079.1, `s1.writeln` works.
Digger points at https://github.com/dlang/dmd/pull/7668 which got this working.

--


More information about the Digitalmars-d-bugs mailing list