-
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
Correct some errors in compiler source comments #8564
Conversation
CT Test Results 2 files 324 suites 9m 51s ⏱️ Results for commit eac10af. ♻️ 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 |
91db543
to
d2f31ef
Compare
In erlang#8564, Frej Drejhammar noticed that the following comment was misleading: %% One or more arguments have been simplified to literal values. It turns out that the entire clause in which the comment is located is not needed. Removing the `arg_types` annotation is unnecessary, since it will be added back in the next iteration of the `beam_ssa_type` pass. This commit removes the unnecessary clause, as well as strengthening and explaining the invariants maintained by `opt_anno_types/2`.
Thanks for noticing the misleading comment. I have addressed it in #8586. |
d2f31ef
to
eac10af
Compare
Refreshed the branch to only contain the commit with typo corrections. |
|
I think |
121c858 should be reviewed by @bjorng as the original author.