Commit 86bf5fbac56444905c650cb62f521635c0358ce7

Thomas de Grivel 2022-02-03T15:24:20

fix stack trace

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/stack.ex b/lib/stack.ex
index c97820c..c46b205 100644
--- a/lib/stack.ex
+++ b/lib/stack.ex
@@ -12,7 +12,7 @@ defmodule Stack do
     to_string(rest, [str | acc])
   end
   def to_string([{module, fun, arity, _} | rest], acc) do
-    str = "#{module |> Enum.join(".")}.#{fun}/#{arity}"
+    str = "#{module}.#{fun}/#{arity}"
     to_string(rest, [str | acc])
   end
   def to_string([elt | rest], acc) do