digitalmars.D.bugs - [Issue 11701] New: Regression (2.065 git-head): splitter from std.array/std.algorithm
- d-bugmail puremagic.com (55/56) Dec 07 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11701
- d-bugmail puremagic.com (12/12) Dec 31 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11701
https://d.puremagic.com/issues/show_bug.cgi?id=11701 Summary: Regression (2.065 git-head): splitter from std.array/std.algorithm Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 05:03:43 PST --- ----- import std.algorithm; void main() { auto a = "".splitter; auto b = "".splitter(" "); } ----- 2.064: $ dmd test.d2.065 git-head: $ dmd test.d test.d(7): Deprecation: function std.algorithm.splitter!string.splitter is deprecated - Please use std.array.splitter for string specific splitting test.d(7): Deprecation: function std.algorithm.splitter!string.splitter is deprecated - Please use std.array.splitter for string specific splitting Tried to use std.array instead: ----- import std.array; void main() { auto a = "".splitter; auto b = "".splitter(" "); } ----- 2.065 git-head: $ dmd test.d test.d(8): Error: template std.array.splitter does not match any function template declaration. Candidates are: C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\array.d(1397): std.array.splitter(C)(C[] s) if (isSomeChar!C) test.d(8): Error: template std.array.splitter(C)(C[] s) if (isSomeChar!C) cannot deduce template function from argument types !()(string, string) I can't import both modules because then I get a conflict: test.d(8): Error: std.array.splitter!(immutable(char)).splitter at C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\array.d(1397) conflicts with std.algorithm.splitter!string.splitter at C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(2904) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 07 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11701 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |DUPLICATE 13:52:54 PST --- *** This issue has been marked as a duplicate of issue 6730 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 31 2013