https://issues.dlang.org/show_bug.cgi?id=23977
--- Comment #2 from [email protected] --- Workaround: change `alias` into `enum`: ``` struct S(string str) { enum strstr = str; int i; } ``` --
d-bugmail--- via Digitalmars-d-bugs Wed, 03 Apr 2024 16:47:05 -0700
https://issues.dlang.org/show_bug.cgi?id=23977
--- Comment #2 from [email protected] --- Workaround: change `alias` into `enum`: ``` struct S(string str) { enum strstr = str; int i; } ``` --