Thread overview
[Issue 24071] When enum has typedef integer constants do not have types determined correctly
Aug 08, 2023
Dennis
Aug 08, 2023
Richard Cattermole
Sep 12, 2023
Dlang Bot
Sep 12, 2023
Dlang Bot
August 08, 2023
https://issues.dlang.org/show_bug.cgi?id=24071

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl

--- Comment #1 from Dennis <dkorpel@live.nl> ---
Is the snippet alone supposed to reproduce it? I don't get the error, and I'm not on Windows so I don't have the entire file.

--
August 08, 2023
https://issues.dlang.org/show_bug.cgi?id=24071

--- Comment #2 from Richard Cattermole <alphaglosined@gmail.com> ---
Created attachment 1884
  --> https://issues.dlang.org/attachment.cgi?id=1884&action=edit
wingdi.h for 10.0.20348.0

It was enough to produce the error on my machine.

Took me quite a while to minify it down to this.

I've included my copy of wingdi.h here however in case it is of interest.

--
September 12, 2023
https://issues.dlang.org/show_bug.cgi?id=24071

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #15602 "fix Issue 24071 - When enum has typedef integer constants do not have…" fixing this issue:

- fix Issue 24071 - When enum has typedef integer constants do not have types determined correctly

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

--
September 12, 2023
https://issues.dlang.org/show_bug.cgi?id=24071

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

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

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #15602 "fix Issue 24071 - When enum has typedef integer constants do not have…" was merged into master:

- 9e8feb39c2d3c83be76a45dc94d82194ec7bb941 by Walter Bright:
  fix Issue 24071 - When enum has typedef integer constants do not have types
determined correctly

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

--