[Issue 11840] New: Show all errors of undefined identifier used in a line

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 29 07:10:38 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11840

           Summary: Show all errors of undefined identifier used in a line
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2013-12-29 07:10:35 PST ---
void main() {
    int[10] data;
    data[i .. j] = 0;
}



DMD 2.065alpha outputs:

temp.d(3): Error: undefined identifier i


Expected:

temp.d(3): Error: undefined identifier i
temp.d(3): Error: undefined identifier j

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


More information about the Digitalmars-d-bugs mailing list