September 01, 2022 [Issue 23311] Allow creating alias for __gshared | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23311 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WONTFIX --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- I'm sorry, but this bug report is invalid. By the current spec, aliases can only be made to types or symbols, whereas __gshared is a type qualifier just like const, immutable etc. You cannot do `alias im = immutable`. `__gshared` is ugly and hard to type on purpose, because it is unsafe and requires that the programmer really understands what he/she is doing. I will close this as WONTFIX. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply