On Friday, 21 July 2017 at 18:35:53 UTC, David Gileadi wrote:
On 7/21/17 6:51 AM, Mike Parker wrote:
DIP 1009 is titled "Improve Contract Usability".

For out contracts that use the return identifier, could the keyword "return" be used?

    out(return > 0)

One possible problem with this syntax is a future where functions could have multiple return values...

No, see Round 1 discussion [1]

[1] http://forum.dlang.org/post/[email protected]

Reply via email to