[Issue 15669] New: Wrong line number in error message
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Feb 10 04:02:12 PST 2016
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 at puremagic.com
Reporter: john.loughran.colvin at 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.
--
More information about the Digitalmars-d-bugs
mailing list