Skip to content

Conversation

@LucasAmaral42
Copy link
Contributor

Erlang/OTP 28 no longer allows regexes to be defined in the module body and interpolated into an attribute

@some_attribute ~r/foo/
def some_fun, do: @some_attribute

You must rewrite it to:

def some_fun, do: ~r/foo/

reference: https://github.com/elixir-lang/elixir/releases/tag/v1.18.4

@danhper danhper merged commit 54d0486 into danhper:master May 28, 2025
1 check failed
@danhper
Copy link
Owner

danhper commented May 28, 2025

Thanks!

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