[Issue 21766] New: [The D Bug Tracker]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 25 11:19:50 UTC 2021


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

          Issue ID: 21766
           Summary: [The D Bug Tracker]
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: Ajieskola at gmail.com

Given program
auto a = 5, b;

DMD outputs
app.d(1): Error: identifier expected following comma
app.d(1): Error: no identifier for declarator `b`

There is an identifier after comma. I'd expect something like "initializer
required for `auto` declaration `b`"

--


More information about the Digitalmars-d-bugs mailing list