[Issue 23822] Deprecated struct alias ignored completely

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 5 04:58:18 UTC 2023


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

--- Comment #1 from FeepingCreature <default_357-line at yahoo.de> ---
```
alias Alias(alias A) = A;
class S { deprecated alias value = Alias!5; }
void main() { auto a = S.value; }
```

This errors correctly.

--


More information about the Digitalmars-d-bugs mailing list