DIP 1009--Improve Contract Usability--Preliminary Review Round 1

MysticZach via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 23 11:57:57 PDT 2017


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!


More information about the Digitalmars-d mailing list