Summary: Wrong line number of error message
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Hisayuki Mima <> 2012-10-16 00:38:25 JST 

template t(alias a){
    alias int t;

void main(){
    t!(foo // line 6

    ) i; // line 12

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:
------- You are receiving this mail because: -------

Reply via email to