[Issue 12724] Error: return statements cannot be in contracts

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 11 12:30:09 PDT 2014


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

--- Comment #6 from monarchdodra at gmail.com ---
(In reply to bearophile_hugs from comment #4)
> I am strongly against this...

Why though? What's your arguments?

It's pretty arbitrary. If you don't *need* to use a return, then don't use one.
If you *do* need a return, why would we want to restrain it?

--


More information about the Digitalmars-d-bugs mailing list