[Issue 8825] New: Wrong line number of error message
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 15 08:38:27 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8825
Summary: Wrong line number of error message
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: youxkei at gmail.com
--- Comment #0 from Hisayuki Mima <youxkei at gmail.com> 2012-10-16 00:38:25 JST ---
Code:
template t(alias a){
alias int t;
}
void main(){
t!(foo // line 6
) i; // line 12
return;
}
Compilation output:
main.d(12): Error: undefined identifier foo
The line number of the error message is wrong.
It is 12, but should be 6.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list