Thread overview
[Issue 4144] Better line number of semicolon expected errors
Jul 02, 2017
Vladimir Panteleev
Mar 17, 2021
RazvanN
July 16, 2014
https://issues.dlang.org/show_bug.cgi?id=4144

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=4144

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|D1 & D2                     |D2

--
July 02, 2017
https://issues.dlang.org/show_bug.cgi?id=4144

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=16104

--
March 17, 2021
https://issues.dlang.org/show_bug.cgi?id=4144

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |WONTFIX

--- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> ---
This issue cannot be fixed because the parser does not have sufficient information to know where the semicolon should be. The positions of the semicolons are the ones that instruct the parser how to interpret statements, therefore if one is missing, the compiler simply considers that it has to continue parsing.

Unfortunately this is a WONTFIX.

--