-
Notifications
You must be signed in to change notification settings - Fork 256
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
Axiom warning refactoring #3662
Merged
keyboardDrummer
merged 10 commits into
dafny-lang:master
from
keyboardDrummer:axiomWarningRefactoring
Mar 2, 2023
Merged
Axiom warning refactoring #3662
keyboardDrummer
merged 10 commits into
dafny-lang:master
from
keyboardDrummer:axiomWarningRefactoring
Mar 2, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stefan-aws
reviewed
Mar 2, 2023
// LHS failed to resolve. Abort trying to resolve assign or return stmt | ||
return; | ||
} else { | ||
throw new InvalidOperationException("Internal error: unexpected option in ResolveAssignOrReturnStmt"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update error message: ResolveAssignOrReturnStmt
doesn't exist anymore, I think.
stefan-aws
previously approved these changes
Mar 2, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A (potentially incomplete) summary of the changes:
- Moves
Method
fromMemberDecl.cs
toMethod.cs
- Moves
ConcreteUpdateStatement
fromStatement.cs
toConcreteUpdateStatement.cs
- Moves
UpdateStmt
fromStatement.cs
toUpdateStmt.cs
- Moves
ResolveUpdateStmt
fromNameResolutionAndTypeInference.cs
toResolve
inUpdateStmt.cs
- Moves
IteratorDecl
fromTopLevelDeclarations.cs
toIteratorDecl
inIteratorDecl.cs
- In
Resolver.cs
refactors code as call to new functionsFillInPostConditionsAndBodiesOfPrefixLemmas
inResolver.cs
andResolve
inIteratorDecl.cs
- Moves
CreateIteratorMethodSpecs
fromResolver.cs
toIteratorDecl.cs
- Sort of moves
ResolveNestedMatchStmt
fromResolver.cs
toNestedMatchStmt.cs
- Move
ResolveAssignOrReturnStmt
fromResolver.cs
toResolve
inAssignOrReturnStmt.cs
- Moves
ResolveMethod
fromNameResolutionAndTypeInference.cs
toResolve
inMethod.cs
- Moves
ResolveFunction
fromNameResolutionAndTypeInference.cs
toResolve
inFunction.cs
- Moves
ResolveAssignSuchThatStmt
inNameResolutionAndTypeInference.cs
toResolve
inAssignSuchThatStmt.cs
- Moves
ConcreteUpdateStatement
inStatement.cs
toConcreteUpdateStatement.cs
- Moves
UpdateStmt
inStatement.cs
toUpdateStmt.cs
- Moves
Resolver
fromResolver.cs
toResolve
inIteratorDecl.cs
stefan-aws
approved these changes
Mar 2, 2023
atomb
pushed a commit
to atomb/dafny
that referenced
this pull request
Mar 2, 2023
Refactoring part of dafny-lang#3553 No code has been changed, only moved. <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
robin-aws
added a commit
that referenced
this pull request
Mar 8, 2023
Updating `master` to pick up all `main-4.0`-specific changes (mostly switching default option values) The only two merge conflicts were: 1. `SinglePassCompiler.cs` - non-conflict between #3546 and #3647 touching adjacent lines. 2. `lit.sit.cfg` - slight conflict between #3662 improving the search for Z3 and 4.0 making it only search for 4.12.1.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactoring part of #3553
No code has been changed, only moved.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.