Asking for code review - contract programming

Ali Çehreli acehreli at yahoo.com
Sun Jan 23 15:52:49 UTC 2022


On 1/23/22 07:33, chopchop wrote:

 > it took me a while to find the documentation about the new
 > "expression-based" syntax that Ali is talking about:
 >
 > https://dlang.org/changelog/2.081.0.html#expression-based_contract_syntax

Yeah, coming late to the party, that syntax gets just a brief mention here:

 
http://ddili.org/ders/d.en/contracts.html#ix_contracts.expression-based%20contracts

Ali



More information about the Digitalmars-d mailing list