-
Notifications
You must be signed in to change notification settings - Fork 3k
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 assertion in prim_tty #8503
Conversation
CT Test Results 2 files 67 suites 1h 4m 24s ⏱️ Results for commit 07f80c6. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
Some tests failed in
The last binary is the output of the command and it reads like this:
|
Would you mind rebasing on maint so that we can get the fix out a little bit earlier?
That failure is not related to your fix, but something else. |
The reader updates the Unicode state right before checking the input's encoding, but the assertion that encoding errors are only possible when using utf8 was done against the original state.
Oops, sorry! Fixed now. |
Thanks! |
The reader updates the Unicode state right before checking the input's encoding, but the assertion that encoding errors are only possible when using utf8 was done against the original state.
Sorry for not writing any test cases, but this is a trivial bugfix for a hard to reproduce race condition.