https://issues.dlang.org/show_bug.cgi?id=14962
--- Comment #2 from Kenji Hara <[email protected]> --- (In reply to Steven Schveighoffer from comment #0) > Another case: > > import std.range; > import std.algorithm; > > class Foo { > int baz() { return 1;} > void bar() { > auto s = [1].map!(i => baz()); // compiles > auto r = [1].map!(i => [1].map!(j => baz())); // error > } > } [snip] I separated the second case into issue 14973. --
