[Issue 24000] New: show the open bracket "{" location for Error: matching `}` expected, not `End of File`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 19 21:01:09 UTC 2023


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 at puremagic.com
          Reporter: mingwu at 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.

--


More information about the Digitalmars-d-bugs mailing list