[Issue 21254] Terse lambda syntax does not allow specifying ref return type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 16 05:33:01 UTC 2020


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

ag0aep6g <ag0aep6g at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ag0aep6g at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from ag0aep6g <ag0aep6g at gmail.com> ---
It's:

    auto get = ref (ref S s) => s.val;

Closing as invalid.

--


More information about the Digitalmars-d-bugs mailing list