[Issue 21985] "goto" errors with unexistent label report wrong/misleading line

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 29 16:01:47 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21985

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

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

--- Comment #1 from Dlang Bot <dlang-bot at 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

--


More information about the Digitalmars-d-bugs mailing list