Bug 11840 – Show all errors of undefined identifier used in a line

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-29T07:10:00Z
Last change time
2014-01-05T02:34:24Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2013-12-29T07:10:35Z
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
Comment #1 by k.hara.pg — 2014-01-05T01:11:09Z
Comment #2 by github-bugzilla — 2014-01-05T02:30:17Z
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