Thread overview
[Issue 23074] premature enum type inference leads to spurious error message
Apr 30, 2022
Basile-z
Dec 17, 2022
Iain Buclaw
Jul 14, 2023
Basile-z
April 30, 2022
https://issues.dlang.org/show_bug.cgi?id=23074

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
semantic analysis of E members causes a semantic analysis of S, causing E to be visited again.

a separate semantic analysis should be done for static/immutable/enum members, since they are just basically like module declarations.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=23074

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
July 14, 2023
https://issues.dlang.org/show_bug.cgi?id=23074

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #2 from Basile-z <b2.temp@gmx.com> ---
maybe at least the circular reference could be detected. That'd give a better error message.

--