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

Renamed INode.RangeToken property to .Origin #5974

Merged

Conversation

keyboardDrummer
Copy link
Member

@keyboardDrummer keyboardDrummer commented Dec 11, 2024

This PR extracts changes from #5931 to make that one simpler to review

What was changed?

  • Renamed INode.RangeToken property to .Origin.
  • Extracted a few classes from Tokens.cs to separate files
  • Renamed a few methods in Cloner.cs

How has this been tested?

Pure refactoring

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

@keyboardDrummer keyboardDrummer enabled auto-merge (squash) December 11, 2024 12:43
@keyboardDrummer keyboardDrummer changed the title Renamed RangeToken to Origin Renamed INode.RangeToken property to .Origin Dec 11, 2024
Copy link
Member

@robin-aws robin-aws left a comment

Choose a reason for hiding this comment

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

LGTM and thank you for the build fix, sorry to be a stickler on the GHA workflow typos but they are very confused as is.

@@ -30,6 +30,10 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
Copy link
Member

Choose a reason for hiding this comment

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

Probably want to delete the first copy :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I've tried various combinations and the one that works is to install both 6 and 8

Copy link
Member

Choose a reason for hiding this comment

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

Oh! So it's something about building and running with different versions?

In that case add comments instead. As is it just looks unintentional and someone will 100% remove it later.

- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{env.dotnet-version}}
Copy link
Member

Choose a reason for hiding this comment

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

Definitely delete the first copy (and the useless env)!

Copy link
Member Author

Choose a reason for hiding this comment

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

What do you mean? I'm purposefully installing both 8 and 6, so I'm invoking actions/setup-dotnet@v4 twice

@keyboardDrummer keyboardDrummer merged commit 579df16 into dafny-lang:master Dec 11, 2024
22 checks passed
@keyboardDrummer keyboardDrummer deleted the renameRangeTokenToOrigin branch December 12, 2024 09:38
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.

2 participants