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

Dune 3.15.0 announcement #2316

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

Leonidas-from-XIV
Copy link
Contributor

No description provided.

Comment on lines 99 to 101
Dune's own files are assumed to be UTF-8 encoded, yet the formatter would err
on the safe side and escape bytes outside the ASCII range, even if the files
were valid UTF-8 sequences.
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think that it's completely accurate. We didn't assume anything about the encoding of dune files (similarly to what the compiler does). What changed is that if the parsed value is valid utf8, we output a utf8-encoded dune file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've rewritten this. Can you take a look if this is a better representation of the issue?

@cuihtlauac cuihtlauac merged commit 37b7247 into ocaml:main Apr 5, 2024
3 checks passed
@Leonidas-from-XIV Leonidas-from-XIV deleted the dune-3.15.0 branch April 5, 2024 12:29
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.

3 participants