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

Correct some errors in compiler source comments #8564

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

frej
Copy link
Contributor

@frej frej commented Jun 12, 2024

121c858 should be reviewed by @bjorng as the original author.

Copy link
Contributor

github-actions bot commented Jun 12, 2024

CT Test Results

    2 files    324 suites   9m 51s ⏱️
  816 tests   814 ✅ 2 💤 0 ❌
5 419 runs  5 417 ✅ 2 💤 0 ❌

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

@frej frej force-pushed the frej/comment-corrections branch from 91db543 to d2f31ef Compare June 12, 2024 07:08
@bjorng bjorng self-assigned this Jun 13, 2024
@bjorng bjorng added the team:VM Assigned to OTP team VM label Jun 13, 2024
bjorng added a commit to bjorng/otp that referenced this pull request Jun 17, 2024
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`.
@bjorng
Copy link
Contributor

bjorng commented Jun 17, 2024

Thanks for noticing the misleading comment. I have addressed it in #8586.

@bjorng bjorng changed the title Correct som errors in compiler source comments Correct some errors in compiler source comments Jun 17, 2024
@frej frej force-pushed the frej/comment-corrections branch from d2f31ef to eac10af Compare June 17, 2024 08:19
@frej
Copy link
Contributor Author

frej commented Jun 17, 2024

Refreshed the branch to only contain the commit with typo corrections.

@kikofernandez
Copy link
Contributor

kikofernandez commented Jun 17, 2024

Maybe this should be rebased onto maint, instead of master :)

@bjorng bjorng added the testing currently being tested, tag is used by OTP internal CI label Jun 17, 2024
@bjorng
Copy link
Contributor

bjorng commented Jun 17, 2024

I think master is fine for correcting comments.

@bjorng bjorng merged commit 42793bb into erlang:master Jun 17, 2024
16 checks passed
@frej frej deleted the frej/comment-corrections branch June 27, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants