[Issue 22134] Deprecate returning a void value from a function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 21 09:09:02 UTC 2021


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
To be clear, this is only about void values with no side effects.  This is
already done with ExpStatement and CommaExp with the use of the `discardValue`.

--


More information about the Digitalmars-d-bugs mailing list