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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
                   |                            |rg
         Resolution|---                         |INVALID

--- Comment #1 from [email protected] ---
Attributes for function literals are inferred nowadays and `i => x = i` is
inferred as @safe pure nothrow @nogc, hence calling the second overload of
functional. That causes an infinite recursion and crashes due to a stack
overflow.

--

Reply via email to