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

Crash when Credo.Check.Design.AliasUsage.find_aliases/2 calls to_string #56

Closed
KronicDeth opened this issue Mar 23, 2016 · 2 comments
Closed

Comments

@KronicDeth
Copy link
Contributor

Versions

Elixir: 1.2.3
Credo: 0.3.8

Error

Checking 51 source files ...
** (EXIT from #PID<0.47.0>) an exception was raised:
    ** (Protocol.UndefinedError) protocol String.Chars not implemented for {:__MODULE__, [line: 7], nil}
        (elixir) lib/string/chars.ex:3: String.Chars.impl_for!/1
        (elixir) lib/string/chars.ex:17: String.Chars.to_string/1
        (elixir) lib/enum.ex:1473: Enum."-reduce/3-lists^foldl/2-0-"/3
        (elixir) lib/enum.ex:1058: Enum.join/2
        lib/credo/check/design/alias_usage.ex:119: Credo.Check.Design.AliasUsage.find_aliases/2
        (elixir) lib/macro.ex:188: anonymous fn/4 in Macro.do_traverse/4
        (elixir) lib/enum.ex:1151: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
        (elixir) lib/enum.ex:1151: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
rrrene added a commit that referenced this issue Mar 23, 2016
@rrrene
Copy link
Owner

rrrene commented Mar 23, 2016

👍 thx for reporting! will release a fix shortly!

@rrrene rrrene closed this as completed in 61676b8 Mar 23, 2016
@rrrene
Copy link
Owner

rrrene commented Mar 23, 2016

@KronicDeth v0.3.9 contains a fix for this. Can you confirm?

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

No branches or pull requests

2 participants