[Issue 16179] [REG2.072] git HEAD: multiSort no longer callable with delegate with context
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jun 17 03:14:08 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16179
--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
Forgot the error messages:
.../std/algorithm/sorting.d(922): Error: static function
test.main.multiSort!((a, b) => a > b, (a, b) => a <
n).multiSort!(int[]).multiSort.predFun cannot access frame of function D main
.../std/algorithm/sorting.d(923): Error: static function
test.main.multiSort!((a, b) => a > b, (a, b) => a <
n).multiSort!(int[]).multiSort.predFun cannot access frame of function D main
.../std/algorithm/sorting.d(895): Error: static function
test.main.multiSortImpl!((a, b) => a > b, (a, b) => a < n).multiSortImpl cannot
access frame of function D main
.../std/algorithm/sorting.d(913): Error: static function
test.main.multiSortImpl!((a, b) => a < n).multiSortImpl cannot access frame of
function D main
.../std/algorithm/sorting.d(900): Error: template instance
test.main.multiSortImpl!((a, b) => a < n) error instantiating
.../std/algorithm/sorting.d(927): instantiated from here:
multiSortImpl!((a, b) => a > b, (a, b) => a < n)
test.d(7): instantiated from here: multiSort!(int[])
--
More information about the Digitalmars-d-bugs
mailing list