Skip to content

Fix Elixir 1.20 compilation warnings#235

Merged
ericmj merged 1 commit into
ericmj:mainfrom
gilbertwong96:fix/elixir-1.20-warnings
May 26, 2026
Merged

Fix Elixir 1.20 compilation warnings#235
ericmj merged 1 commit into
ericmj:mainfrom
gilbertwong96:fix/elixir-1.20-warnings

Conversation

@gilbertwong96
Copy link
Copy Markdown
Contributor

Resolve compilation warnings introduced in Elixir 1.20.

  • Removed unreachable check_dbl_min_max(%Decimal{coef: :inf}) clause. The only call site in to_float/1 guards on is_integer(coef), so the :inf pattern can never match.

@gilbertwong96 gilbertwong96 force-pushed the fix/elixir-1.20-warnings branch from 69a03e6 to c94ff97 Compare May 26, 2026 05:41
@ericmj ericmj merged commit acdf0b6 into ericmj:main May 26, 2026
2 checks passed
@ericmj
Copy link
Copy Markdown
Owner

ericmj commented May 26, 2026

Thank you!

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.

2 participants