[Issue 12724] Error: return statements cannot be in contracts
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun May 11 14:53:16 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12724
--- Comment #9 from bearophile_hugs at eml.cc ---
(In reply to monarchdodra from comment #8)
> It means you've tested what needs to be tested, and the input given need to
> proceed with the rest of the code.
So the return ends just the contract. I misunderstood this, sorry.
--
More information about the Digitalmars-d-bugs
mailing list