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

fix: Escape tallies temporary file path properly #4767

Conversation

robin-aws
Copy link
Member

@robin-aws robin-aws commented Nov 10, 2023

Description

#4755 broke the nightly build because I neglected to escape a string literal properly. Works just fine as long as your directory separator is /, but then Windows had to go and be all different. :)

I attempted to use EmitStringLiteral to escape correctly, but it turns out that this still tried to translate Dafny \U unicode escape sequences in a windows path like C:\Users\.... I suspect there might be a bug lurking there too but didn't want to block fixing the nightly build on it.

How has this been tested?

Existing tests with run-deep-tests.

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

@robin-aws robin-aws added the run-deep-tests Tells CI to run all tests label Nov 10, 2023
@robin-aws robin-aws enabled auto-merge (squash) November 10, 2023 19:20
Copy link
Member

@atomb atomb left a comment

Choose a reason for hiding this comment

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

As long as the Windows tests pass, this looks good.

@robin-aws robin-aws merged commit 4d3c2e0 into dafny-lang:master Nov 10, 2023
29 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-deep-tests Tells CI to run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants