June 27, 2023 [Issue 24019] New: Public alias to private struct template in struct instantiated in UDA is not visible from module | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24019 Issue ID: 24019 Summary: Public alias to private struct template in struct instantiated in UDA is not visible from module Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: default_357-line@yahoo.de import_a.d: ``` struct S { public alias A = T; } private struct T() { } ``` test.d: ``` import import_a; @(S.A!()) void main() { } ``` Worked as of 2.102.2, but on master says ``` test.d(4): Error: `import_a.A!().T` is not visible from module `test` ``` -- |
Copyright © 1999-2021 by the D Language Foundation