Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: inherit contracts #31

Merged
merged 3 commits into from
Jan 18, 2019
Merged

Conversation

icanhazstring
Copy link
Member

@icanhazstring icanhazstring commented Jan 17, 2019

This will add the ability to inherit contracts without providing @inheritdoc or the need to provide a new contract on the current class level.

This should solve #28

This will serve as a contract inherit flag.
It will take all existing annotations (ensure, verify, invariant)
and check current as well as parent classes for contracts
- Inherit will now always inherit contracts (despite missing @inheritdoc)
- provide Inherit tests
- update Demo implementation
- update Readme with Inherit documentation
@icanhazstring icanhazstring merged commit 078ca37 into master Jan 18, 2019
@icanhazstring icanhazstring deleted the feature/inherit-contracts branch January 27, 2019 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant