[Issue 4144] Better line number of semicolon expected errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 17 14:42:50 UTC 2021


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

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

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

--- Comment #1 from RazvanN <razvan.nitu1305 at 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.

--


More information about the Digitalmars-d-bugs mailing list