February 10, 2016 [Issue 15669] New: Wrong line number in error message | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation