https://issues.dlang.org/show_bug.cgi?id=19082

--- Comment #2 from Mitu <[email protected]> ---
OK, I managed to find a minimal example. The code below builds properly for
debug build, but fails with the release build.

=================================
/+ dub.sdl: name "main" +/

import std.algorithm;
import std.range;

void main()
{
[1].map!(x => x).slide(2);
}
===========

Replacing .map!(x => x) with .map!"a" makes the code code work strangely.

--

Reply via email to