June 17, 2016 [Issue 16179] New: [REG2.072] git HEAD: multiSort no longer callable with delegate with context | ||||
|---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: thecybershadow@gmail.com //////// 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 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply