digitalmars.D.bugs - [Issue 8598] New: [regression 2.059] Calling template function doesn't print instantiated line number
- d-bugmail puremagic.com (38/38) Aug 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8598
- d-bugmail puremagic.com (10/10) Aug 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8598
- d-bugmail puremagic.com (13/13) Sep 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8598
- d-bugmail puremagic.com (12/12) Sep 05 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8598
- d-bugmail puremagic.com (12/12) Sep 14 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8598
- d-bugmail puremagic.com (13/13) Sep 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8598
http://d.puremagic.com/issues/show_bug.cgi?id=8598 Summary: [regression 2.059] Calling template function doesn't print instantiated line number Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com This is an example code that has an error. import std.stdio; import std.algorithm; import std.range; import std.conv; void main() { "123".map(x => x.to!string).join("\n").writeln; // test.d line 8 // ^ lack of '!' } Output: C:\dmd2\src\phobos\std\algorithm.d(367): Error: template std.algorithm.map(fun...) if (fun.length >= 1) is not a function template C:\dmd2\src\phobos\std\algorithm.d(367): Error: template std.algorithm.map(fun...) if (fun.length >= 1) cannot deduce template function from argument types !()(string,void) But, compiler should print second error "... cannot deduce template function from ..." with the position test.d(8). This is a regression of 2.059 which introduced by fixing bug 7768 and pull -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8598 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/1098 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8598 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/440ced7ea23b377c9e261b128c78f9074c146842 fix Issue 8598 - Calling template function doesn't print instantiated line number https://github.com/D-Programming-Language/dmd/commit/f458a81531838dd3f0c31e2e680a541469d0d065 Issue 8598 - [regression 2.059] Calling template function doesn't print instantiated line number -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8598 Damian Ziemba <nazriel6969 gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |nazriel6969 gmail.com Resolution| |FIXED PDT --- Seems to be fixed with https://github.com/D-Programming-Language/dmd/pull/1098 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 05 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8598 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |clugdbug yahoo.com.au Resolution|FIXED | This isn't merged into D1 yet. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 14 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8598 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Version|D2 |D1 & D2 Resolution| |FIXED Fixed in D1 branch: https://github.com/D-Programming-Language/dmd/commit/b66e1af7cbf07023eb888c402e4664289464daee -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 23 2012