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

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 22 13:19:59 PDT 2017


On 22.06.2017 22:02, jmh530 wrote:
> 
> The whole double parentheses is a bit ugly to me. Is there any problem with
> out(return > 0)

out(a => {
     void foo()out(b => a == b){ return a; }
     return foo()>0;
}());


More information about the Digitalmars-d mailing list