https://issues.dlang.org/show_bug.cgi?id=13771
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WONTFIX --- Comment #1 from RazvanN <[email protected]> --- No, D does not support such features because the return type is always deduced from the function body, not from the surrounding context (there are some exceptions with regards to lambda functions). This is a major change that does really bring too much benefit. --
