Is D Contracts broken?

Sean Kelly sean at f4.ca
Wed Aug 29 07:43:04 PDT 2007


Hans-Eric Grönlund wrote:
> Is this paragraph in the Contract Programming section of the specification valid?
> 
> "If a function in a derived class overrides a function in its super class, then only one of the in contracts of the function and its base functions must be satisfied."

It's supposed to be, but that feature has not yet been implemented.


Sean



More information about the Digitalmars-d mailing list