May 18, 2018
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 18, 2018
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