February 18, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12196

           Summary: Bad error message for multiple declarations
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@eml.cc 2014-02-18 13:27:09 PST ---
void main() {
    enum N = 10;
    int a[N], b[N];
}


DMD 2.065rc1 gives:

test.d(3,19): Error: multiple declarations must have the same type, not int[N]
and int[N]

I suggest to generate a more truthful error message.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 19, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12196


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com
           See Also|                            |https://d.puremagic.com/iss
                   |                            |ues/show_bug.cgi?id=5807


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2014-02-19 06:34:10 PST ---
I'm pretty sure I saw this filed somewhere already. Can't find it now, although Issue 5807 is related.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------