www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11840] New: Show all errors of undefined identifier used in a line

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: bearophile_hugs eml.cc


--- Comment #0 from bearophile_hugs 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: -------
Dec 29 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11840


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
           Platform|x86                         |All
         OS/Version|Windows                     |All


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2014-01-05 01:11:09 PST ---
https://github.com/D-Programming-Language/dmd/pull/3062

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 05 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11840



--- Comment #2 from github-bugzilla puremagic.com 2014-01-05 02:30:17 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4e99974adf5762b5760ea1b3938f4e221b1a7af5
fix Issue 11840 - Show all errors of undefined identifier used in a line

https://github.com/D-Programming-Language/dmd/commit/e33ab359811eebdd3771fd3466bff207379c57b5
Merge pull request #3062 from 9rnsr/fix11840

Issue 11840 - Show all errors of undefined identifier used in a line

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 05 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11840


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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