Thread overview
[Issue 21985] "goto" errors with unexistent label report wrong/misleading line
May 29, 2021
Basile-z
May 29, 2021
Dlang Bot
May 29, 2021
Dlang Bot
May 29, 2021
https://issues.dlang.org/show_bug.cgi?id=21985

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Severity|enhancement                 |minor

--
May 29, 2021
https://issues.dlang.org/show_bug.cgi?id=21985

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #12605 "Fix 21985 - Ensure that LabelDsymbols have an explicit location" fixing this issue:

- Fix 21985 - Ensure that LabelDsymbols have an explicit location

  This allows the error reporting to point to the first usage of an
  unknown label.

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

--
May 29, 2021
https://issues.dlang.org/show_bug.cgi?id=21985

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12605 "Fix 21985 - Ensure that LabelDsymbols have an explicit location" was merged into master:

- 75407aeef71ff5c0fe0a02a15b2b73585c4faf0e by MoonlightSentinel:
  Fix 21985 - Ensure that LabelDsymbols have an explicit location

  This allows the error reporting to point to the first usage of an
  unknown label.

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

--