Thread overview
[Issue 12331] Wrong error message for undefined identifier at compile-time
Apr 04, 2017
Nick Treleaven
Mar 25, 2019
Basile-z
Mar 21, 2020
Basile-z
April 04, 2017
https://issues.dlang.org/show_bug.cgi?id=12331

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #1 from Nick Treleaven <nick@geany.org> ---
DMD 2.073.2 gives:
f625.d(6): Error: circular initialization of variable 'f625.r'

foo is allowed to read global enum r, so this seems correct behaviour. What else should be done?

--
March 25, 2019
https://issues.dlang.org/show_bug.cgi?id=12331

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |b2.temp@gmx.com
         Resolution|---                         |WORKSFORME

--- Comment #2 from Basile-z <b2.temp@gmx.com> ---
the message is good now

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=12331

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--