Skip to content

Conversation

@dnsbty
Copy link

@dnsbty dnsbty commented Sep 28, 2025

Attempting to compile the project using Elixir 1.18 and OTP 27 results in the following error:

==> credo
Compiling 253 files (.ex)

== Compilation error in file lib/credo/check/config_comment_finder.ex ==
** (Regex.CompileError) invalid range in character class at position 16
    (elixir 1.18.4) lib/regex.ex:254: Regex.compile!/2
    lib/credo/check/config_comment_finder.ex:9: (module)
could not compile dependency :credo, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile credo --force", update it with "mix deps.update credo" or clean it with "mix deps.clean credo"

This was fixed in credo v1.7.11. Using v1.7.12 should bring compatibility with Elixir 1.19 as well.

After making this change the project compiles as expected.

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