[Issue 21539] [REG 2.084] symbols from import inside template mixin cannot be accessed using module scope dot operator
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 11 07:35:39 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21539
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
Looks like:
https://github.com/dlang/dmd/pull/9078
is the cause. Rewriting the example to:
import std.stdio;
mixin template T() {
alias X = .File;
}
mixin T;
and it works.
--
More information about the Digitalmars-d-bugs
mailing list