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

[Test Generation] Fix bug in function to function-by-method transformation #4067

Merged
merged 3 commits into from
May 25, 2023

Conversation

Dargones
Copy link
Collaborator

This PR fixes a bug in function to function-by-method transformation pass that can lead to parsing errors during test generation. The fix is to use the cloner API instead of copying AST nodes by reference. The PR also includes a test that can catch this bug.

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

@Dargones Dargones marked this pull request as ready for review May 23, 2023 18:51
@keyboardDrummer keyboardDrummer enabled auto-merge (squash) May 25, 2023 13:28
@keyboardDrummer keyboardDrummer merged commit b3045a8 into dafny-lang:master May 25, 2023
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