Thread overview
[Issue 23977] [REG2.102] cannot use getSymbolsByUDA on template struct with alias member
Jun 29
Dlang Bot
June 07, 2023
https://issues.dlang.org/show_bug.cgi?id=23977

johanengelen@weka.io changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry, rejects-valid

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

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/phobos pull request #8775 "Fix Issue 23977 - [REG2.102] cannot use getSymbolsByUDA on template s[REG2.102] cannot use getSymbolsByUDA on template struct with alias member" fixing this issue:

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

https://github.com/dlang/phobos/pull/8775

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

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

    int i;
}
```

--