http://d.puremagic.com/issues/show_bug.cgi?id=4936
Summary: Regression(2.049) std.algorithm.completeSort doesn't match string arrays Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: jesse.k.phillip...@gmail.com CC: jesse.k.phillip...@gmail.com --- Comment #0 from Jesse Phillips <jesse.k.phillip...@gmail.com> 2010-09-24 16:37:19 PDT --- Basically two string[] fail to mach the completeSort signature. This worked with 2.048 import std.algorithm; void main() { auto foo = ["a the way home", "can I say"]; auto bar = ["be it here or there", "you may"]; completeSort(foo, bar); } test.d(7): Error: template std.algorithm.completeSort(alias less = "a < b",SwapStrategy ss = SwapStrategy.unstable,Range1,Range2) if (hasLength!(Range2) && hasSlicing!(Range2)) does not match any function template declaration test.d(7): Error: template std.algorithm.completeSort(alias less = "a < b",SwapStrategy ss = SwapStrategy.unstable,Range1,Range2) if (hasLength!(Range2) && hasSlicing!(Range2)) cannot deduce template function from argument types !()(string[],string[]) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------