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

chore: Rename adjustment to refinement #5139

Merged

Conversation

RustanLeino
Copy link
Collaborator

This PR renames "adjustment type" to the better name "refinement type". It also adds documentation to the class Advice.

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

///
/// So, a piece of "Advice" is saying that a given "PreType" should have a specific type *if* the program does not have any other
/// specific type for it.
/// </summary>
public abstract class Advice {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Advice could also use a more specific name, like AmbiguousTypeDefault or TypeDisambiguation

@keyboardDrummer keyboardDrummer enabled auto-merge (squash) March 4, 2024 10:41
@@ -8,6 +8,32 @@
using System.Collections.Generic;

namespace Microsoft.Dafny {
/// <summary>
/// A piece of "Advice" is information about a default type.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks

@keyboardDrummer
Copy link
Member

Looks great, thanks

@keyboardDrummer keyboardDrummer merged commit f2d6e5c into dafny-lang:master Mar 4, 2024
20 checks passed
@RustanLeino RustanLeino deleted the rename-adjustment-refinement branch March 4, 2024 20:04
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

2 participants