Skip to content

Class/Trait Invariants #6313

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

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft

Class/Trait Invariants #6313

wants to merge 31 commits into from

Conversation

ssomayyajula
Copy link
Contributor

What was changed?

TODO: update RELEASE_NOTES.md and record implementation notes.

How has this been tested?

Tests in Source/IntegrationTests/TestFiles/LitTests/LitTest/invariants.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

ssomayyajula and others added 30 commits May 14, 2025 13:40
TODO: source under SyntaxDeserializer needs to be properly regenerated
TODO: tests for parsing and resolving need to be completed
…dingly

- Wellformedness checks simplified, since they do not have to be scoped to an enclosing declaration
- VerifyInvariants renamed to CheckInvariants and is automatically checked when a MemberDecl is coerced to an Invariant
- Refinement is now implemented, solving issue in InheritedMemberError.dfy
- Printing now implemented
…om invariants to be done as a visitor-based check
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.

1 participant