Re: Contract programing restrictions

2015-05-13 Thread iackhtak via Digitalmars-d-learn
On Wednesday, 13 May 2015 at 10:18:26 UTC, iackhtak wrote: There was discussion about broken contract programing. Broken thing was "in" contract within inheritance. If you add different "in"-contract in overridden parent and derived function only one will be checked. I thought that solution is

Contract programing restrictions

2015-05-13 Thread iackhtak via Digitalmars-d-learn
There was discussion about broken contract programing. Broken thing was "in" contract within inheritance. If you add different "in"-contract in overridden parent and derived function only one will be checked. I thought that solution is to ban "in"-contract for derived function. "In"-contract sa