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

Nick Treleaven <[email protected]> changed:

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

--- Comment #5 from Nick Treleaven <[email protected]> ---
This is documented now:

"If a function literal is aliased, the inference of the parameter types is done
when the types are needed, as the function literal becomes a template."

https://dlang.org/spec/expression.html#lambda-parameter-inference

"If the expression is a Template, typeof gives the type void."

https://dlang.org/spec/type.html#typeof

--

Reply via email to