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: nob...@puremagic.com
        ReportedBy: youx...@gmail.com


--- Comment #0 from Hisayuki Mima <youx...@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: -------

Reply via email to