www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24000] New: show the open bracket "{" location for Error:

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

          Issue ID: 24000
           Summary: show the open bracket "{" location for Error: matching
                    `}` expected, not `End of File`
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: mingwu gmail.com

when there is such error message:

```
Error: matching `}` expected, not `End of File`
```

it's hard to figure out where the problem is, so the compiler should tell where
the un-matched beginning "{" token is.

--
Jun 19 2023