[Issue 4936] Better error when type inference fails due to incorrect template parameter type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 26 12:52:42 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4936



--- Comment #2 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2010-10-26 12:51:39 PDT ---
Looks like the example code doesn't actually work either.

import std.algorithm;
import std.range;

void main() {
int[] a = [ 1, 2, 3 ];
int[] b = [ 4, 0, 6, 5 ];
completeSort(assumeSorted(a), b);
assert(a == [ 0, 1, 2 ]);
assert(b == [ 3, 4, 5, 6 ]);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list