Skip to content

Fix credo compile error with Elixir 1.19#94

Open
joaothallis wants to merge 1 commit intoelixir-webrtc:masterfrom
joaothallis:master
Open

Fix credo compile error with Elixir 1.19#94
joaothallis wants to merge 1 commit intoelixir-webrtc:masterfrom
joaothallis:master

Conversation

@joaothallis
Copy link

@joaothallis joaothallis commented Mar 19, 2026

Summary

  • Bump credo from 1.7.10 to 1.7.17 to fix a regex compilation error on Elixir 1.19

Error:

mix compile
==> credo
Compiling 252 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.19.5) lib/regex.ex:251: Regex.compile!/2
    (elixir 1.19.5) lib/kernel.ex:6649: Kernel.compile_regex/2
    (elixir 1.19.5) expanding macro: Kernel.sigil_r/2
    lib/credo/check/config_comment_finder.ex:9: Credo.Check.ConfigCommentFinder (module)
    (elixir 1.19.5) expanding macro: Kernel.@/1
    lib/credo/check/config_comment_finder.ex:9: Credo.Check.ConfigCommentFinder (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"

@joaothallis joaothallis marked this pull request as ready for review March 19, 2026 03:25
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