August 29, 2022 [Issue 23311] New: Allow creating alias for __gshared | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23311 Issue ID: 23311 Summary: Allow creating alias for __gshared Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ryuukk.dev@gmail.com The following code doesn't compile ``` alias notls = __gshared; ``` onlineapp.d(2): Error: basic type expected, not `;` onlineapp.d(2): Deprecation: storage class `__gshared` has no effect in type aliases __gshared is annoying to type, and doesn't convey the proper intention Being able to alias it would solve my problem `shared` is not a solution -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply