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

'\0' is translated to incorrect f* #993

Closed
maximebuyse opened this issue Oct 14, 2024 · 4 comments
Closed

'\0' is translated to incorrect f* #993

maximebuyse opened this issue Oct 14, 2024 · 4 comments
Labels
bug Something isn't working f* F* backend workaround This bug has a workaround

Comments

@maximebuyse
Copy link
Contributor

The rust character '\0' is translated as '\000' in f* which is rejected with unexpected char by f*.
Writing 0x00 as char works as a workaround.

@maximebuyse maximebuyse added bug Something isn't working f* F* backend workaround This bug has a workaround labels Oct 14, 2024
@W95Psp
Copy link
Collaborator

W95Psp commented Oct 14, 2024

Oh, it seems that it's a bug in the pretty printer of F*

@W95Psp
Copy link
Collaborator

W95Psp commented Oct 14, 2024

I opened FStarLang/FStar#3560 on F*. But this will likely be fixed by #942: with that, we won't use F* pretty printer anymore.

Copy link

This issue has been marked as stale due to a lack of activity for 60 days. If you believe this issue is still relevant, please provide an update or comment to keep it open. Otherwise, it will be closed in 7 days.

@github-actions github-actions bot added the stale label Dec 17, 2024
@W95Psp
Copy link
Collaborator

W95Psp commented Dec 17, 2024

This was closed by #1147

@W95Psp W95Psp closed this as completed Dec 17, 2024
@W95Psp W95Psp removed the stale label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working f* F* backend workaround This bug has a workaround
Projects
None yet
Development

No branches or pull requests

2 participants