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

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 23 12:04:35 PDT 2017


On Fri, Jun 23, 2017 at 06:57:57PM +0000, MysticZach via Digitalmars-d wrote:
> 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:
[...]
> > > 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!

Yeah!  Kudos to Timon for the quick implementation!  This will increase
the odds of this DIP being accepted, I'm sure. :-)


T

-- 
"Real programmers can write assembly code in any language. :-)" -- Larry Wall


More information about the Digitalmars-d mailing list