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

Use ~c"" for charlists to avoid warnings in recent elixir. #130

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

sstoltze
Copy link
Contributor

Since elixir 1.17, using '' for a charlist produces a compile-time warning. Replacing them with ~c"" fixes the issue.

Co-authored-by: Andrew Bruce <andrew.bruce@maersk.com>
Copy link
Owner

@Strech Strech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @sstoltze thanks for your contribution!

* Replace non-interpolation ~c sigils with ~C
@Strech
Copy link
Owner

Strech commented Jan 14, 2025

@sstoltze Sorry for being late, holidays ... I've made a few small adjustments and happy to merge it!

@Strech Strech merged commit 71be139 into Strech:master Jan 14, 2025
8 checks passed
@sstoltze sstoltze deleted the charlist-syntax branch January 17, 2025 15:21
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