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

@invariant supports use with no arguments #41

Closed
4 tasks done
mlhaufe opened this issue May 6, 2020 · 1 comment
Closed
4 tasks done

@invariant supports use with no arguments #41

mlhaufe opened this issue May 6, 2020 · 1 comment
Assignees
Labels
duplicate Duplicate of existing issue feature/invariant The `invariant` declaration requirement An assertion or property that must be fulfilled
Milestone

Comments

@mlhaufe
Copy link
Contributor

mlhaufe commented May 6, 2020

Overview

Method decorators are registered but not active until this class decorator can associate them with the contractHandler and/or enforce their usage. This requirement simply allows an empty @invariant decorator to be used.

@invariant
class MyClass {
...
}

Tasks

  • Implementation
  • Implement overload so that parenthesis is not required
  • Implement Unit Test
  • Update README
@mlhaufe mlhaufe added requirement An assertion or property that must be fulfilled azure migrated feature/invariant The `invariant` declaration labels May 6, 2020
@mlhaufe mlhaufe added this to the v0.6.0 milestone May 6, 2020
@mlhaufe mlhaufe self-assigned this May 6, 2020
@mlhaufe mlhaufe closed this as completed May 6, 2020
@mlhaufe mlhaufe mentioned this issue May 6, 2020
16 tasks
@mlhaufe mlhaufe added the duplicate Duplicate of existing issue label Jan 10, 2021
@mlhaufe
Copy link
Contributor Author

mlhaufe commented Jan 10, 2021

Subsumed by new architecture #171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate of existing issue feature/invariant The `invariant` declaration requirement An assertion or property that must be fulfilled
Projects
None yet
Development

No branches or pull requests

1 participant