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

Replace silly variable names that may show up in tooling #8771

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

richcarl
Copy link
Contributor

@richcarl richcarl commented Sep 2, 2024

E.g. when using ELP, these names show up as hints in calls to binary:replace().

Use same variable names in the code as in the spec instead to avoid confusion.

Uses same variable names in the code as in the spec to avoid confusion.
Copy link
Contributor

github-actions bot commented Sep 2, 2024

CT Test Results

Tests are running... https://github.com/erlang/otp/actions/runs/10663608067

Results for commit cb508ea

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

  • No CT logs found
  • No HTML docs found
  • No Windows Installer found

// Erlang/OTP Github Action Bot

@garazdawi garazdawi merged commit 6ac1e43 into erlang:master Sep 2, 2024
15 checks passed
@garazdawi
Copy link
Contributor

Thanks! Better consistency in naming is always welcome!

Would be great if tools used the same algorithm used for extract signatures for EEP-48 doc chunks as described here, or for code that is compiliable it could just extract the signature from the doc chunk and take the names from there.

@robertoaloi
Copy link
Contributor

Filed WhatsApp/erlang-language-platform#53 on the ELP front.

@richcarl richcarl deleted the silly-vars branch September 2, 2024 12:59
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