[Issue 21694] Misleading error message and invalid goto error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 6 17:35:02 UTC 2023


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

Nick Treleaven <nick at geany.org> changed:

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

--- Comment #3 from Nick Treleaven <nick at geany.org> ---
run.dlang.io gives:

2.075.1 to 2.087.1: Failure with output: onlineapp.d(7): Error: `goto` skips
declaration of variable `onlineapp.test.b` at onlineapp.d(9)
Since      2.088.1: Failure with output: onlineapp.d(7): Error: cannot `goto`
into `try` block

Possibly related to Issue 20096:
https://github.com/dlang/dmd/pull/10266

--


More information about the Digitalmars-d-bugs mailing list