Skip to content

Deminish compilation warning for Elixir 1.18 #780

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gilbertwong96
Copy link

@gilbertwong96 gilbertwong96 commented Apr 30, 2025

Summary of changes

I already adopt Erlang OTP 27 and Elixir 1.18.3 in my Elixir project and my project depends on the latest version of timex. By default my project set the elixir compilation option "warning as error". To ensure the compilation succeed, I have to ensure timex compilation without warning as well. That's why I raise this PR here.

Checklist

  • Add steps for min..max range
  • Adopt new GetText usage
  • Replace Module.eval_quoted/4 with Code.eval_quoted/3
  • Upgrade dependencies

@gilbertwong96
Copy link
Author

gilbertwong96 commented Apr 30, 2025

@bitwalker Please help review.

FYI,

  • The range syntax min..max//steps containing steps is introduced in elixir 1.12.0
  • The Code.eval_quoted/3 is introduced from elixir 1.0

@gilbertwong96
Copy link
Author

Hi, @bitwalker, could you please help review and merge this PR ?

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.

1 participant