Thread overview | |||||
---|---|---|---|---|---|
|
October 15, 2012 [Issue 8825] New: Wrong line number of error message | ||||
---|---|---|---|---|
| ||||
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@puremagic.com ReportedBy: youxkei@gmail.com --- Comment #0 from Hisayuki Mima <youxkei@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: ------- |
August 22, 2013 [Issue 8825] Wrong line number of error message | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hisayuki Mima | http://d.puremagic.com/issues/show_bug.cgi?id=8825 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-08-21 20:50:22 PDT --- https://github.com/D-Programming-Language/dmd/pull/2492 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 21, 2013 [Issue 8825] Wrong line number of error message | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hisayuki Mima | http://d.puremagic.com/issues/show_bug.cgi?id=8825 --- Comment #2 from github-bugzilla@puremagic.com 2013-09-21 00:50:08 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3ad9c76c0d553b20f417f166ee9e35cc1d7994ee fix Issue 8825 - Wrong line number of error message - Each tokens should have its own 'loc'. - Rename `Lexer::loc` to `scanloc` to avoid misuse of lookahead-loc. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation