https://issues.dlang.org/show_bug.cgi?id=13041
Issue ID: 13041 Summary: A problem in std.range.transposed Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P1 Component: Phobos Assignee: nob...@puremagic.com Reporter: bearophile_h...@eml.cc void main() { import std.stdio, std.algorithm, std.range; auto M = [[[1, 2]], [[3, 4]]]; M.filter!(r => r.dup.transposed.walkLength).writeln; M.filter!(r => r.transposed.walkLength).writeln; } Output with dmd 2.066beta: [[[1, 2]], [[3, 4]]] [[[]], [[]]] I expected: [[[1, 2]], [[3, 4]]] [[[1, 2]], [[3, 4]]] --