On Friday, 23 June 2017 at 18:20:23 UTC, Moritz Maxeiner wrote:
On Friday, 23 June 2017 at 18:03:26 UTC, Timon Gehr wrote:
On 23.06.2017 18:21, H. S. Teoh via Digitalmars-d wrote:
[...]
Agreed. Implementation:
https://github.com/dlang/dmd/compare/master...tgehr:contract-syntax
(At most one contract of each type is supported. It is not
very hard to implement multiple contracts, but this requires
touching semantic analysis.)
Holy ***. I set aside some time this weekend to try
implementing this myself as an exercise, but oh well. Thanks!
I know! I'd say it'll take me a good deal longer to rewrite the
DIP than he's taking to implement it!