www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Expression based contract syntax

reply Arun Chandrasekaran <aruncxy gmail.com> writes:
Has this been implemented in DMD master?

So I was looking at the changelog[1] and tried to build the 
example, but it erred.

https://github.com/dlang/dmd/blob/master/changelog/expression-based_contract_syntax.dd
May 17 2018
parent Mike Franklin <slavo5150 yahoo.com> writes:
On Friday, 18 May 2018 at 05:28:10 UTC, Arun Chandrasekaran wrote:
 Has this been implemented in DMD master?

 So I was looking at the changelog[1] and tried to build the 
 example, but it erred.

 https://github.com/dlang/dmd/blob/master/changelog/expression-based_contract_syntax.dd
https://github.com/dlang/dmd/pull/8155 I believe it will arrive in the next release, 2.081. I think you can use it from one of the nightly builds, but there might currently be a problem with our the publishing of our nightlies: https://github.com/dlang-tour/core/issues/696 Mike
May 17 2018