digitalmars.D.bugs - [Issue 15669] New: Wrong line number in error message
- via Digitalmars-d-bugs (24/24) Feb 10 2016 https://issues.dlang.org/show_bug.cgi?id=15669
https://issues.dlang.org/show_bug.cgi?id=15669 Issue ID: 15669 Summary: Wrong line number in error message Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: john.loughran.colvin gmail.com % cat test.d alias AliasSeq(A ...) = A; void foo() { AliasSeq!int a; a[a]; } % dmd test.d test.d(5): Error: variable __a_field_0 cannot be read at compile time The incorrect usage is actually at line 6. --
Feb 10 2016