Created
June 1, 2014 01:24
-
-
Save nicholasf/3c09b4c133c6bea8cb7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex(4)> foo = "test" | |
"test" | |
iex(5)> invoker = Regex.compile("insert var here #(foo)") | |
** (ArgumentError) Got FunctionClauseError with message "no function clause matching in Inspect.Regex.__impl__/1" while inspecting %{__struct__: Regex, opts: "", | |
re_pattern: {:re_pattern, 1, 0, 0, | |
<<69, 82, 67, 80, 119, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 105, 0, 111, 0, 0, 0, 1, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>}, | |
source: "insert var here #(foo)"} | |
** (IEx.Error) error when printing EXIT message: :function_clause | |
=ERROR REPORT==== 1-Jun-2014::11:24:04 === | |
Error in process <0.79.0> with exit value: {function_clause,[{'Elixir.String.Chars.List','__impl__',[target],[{file,"lib/string/chars.ex"},{line,43}]},{'Elixir.String.Chars','impl_for!',1,[{file,"lib/string/chars.ex"},{line,3}]},{'Elixir.String.Chars',to_string,1,[{file... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment