www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13609] New: better error message for missing '}'


          Issue ID: 13609
           Summary: better error message for missing '}'
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: ketmar ketmar.no-ip.org

missing '}' can produce higly cryptic error messages like this: "z.d(1137):
Error: } expected following member declarations in aggregate".

ok, i know that i missed '}' somewhere, but can't compiler tell me on what line
that "aggregate" starts? pleaseā€¦

Oct 13 2014