Thread overview
[Issue 23822] Deprecated struct alias ignored completely
Apr 05, 2023
FeepingCreature
Apr 05, 2023
FeepingCreature
Apr 05, 2023
FeepingCreature
Apr 05, 2023
Dlang Bot
Apr 05, 2023
Dlang Bot
Jun 02, 2023
FeepingCreature
April 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23822

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry

--
April 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23822

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid

--
April 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23822

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

This errors correctly.

--
April 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23822

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@FeepingCreature created dlang/dmd pull request #15077 "Fix issue 23822: Check for deprecation before resolving alias on struct type member access." fixing this issue:

- Fix issue 23822: Check for deprecation before resolving alias on struct type member access.

https://github.com/dlang/dmd/pull/15077

--
April 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23822

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #15077 "Fix issue 23822: Check for deprecation before resolving alias on struct type member access." was merged into master:

- a40e04d78c13d3f90219e2b9260beaeb61c6e24b by Mathis Beer:
  Fix issue 23822: Check for deprecation before resolving alias on struct type
member access.

https://github.com/dlang/dmd/pull/15077

--
June 02, 2023
https://issues.dlang.org/show_bug.cgi?id=23822

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dlang-bugzilla@thecybershad
                   |                            |ow.net

--- Comment #4 from FeepingCreature <default_357-line@yahoo.de> ---
*** Issue 23954 has been marked as a duplicate of this issue. ***

--