[Issue 23977] [REG2.102] cannot use getSymbolsByUDA on template struct with alias member

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 3 23:40:24 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=23977

--- Comment #2 from johanengelen at weka.io ---
Workaround: change `alias` into `enum`:
```
struct S(string str) {
    enum strstr = str;

    int i;
}
```

--


More information about the Digitalmars-d-bugs mailing list