https://issues.dlang.org/show_bug.cgi?id=16179
Issue ID: 16179
Summary: [REG2.072] git HEAD: multiSort no longer callable with
delegate with context
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
//////// test.d ////////
import std.algorithm;
void main()
{
int[] arr;
int n;
arr.multiSort!(
(a, b) => a > b,
(a, b) => a < n,
);
}
////////////////////////
Introduced in https://github.com/dlang/phobos/pull/4235
--