There might be something wrong with the setup on my end but lately I see quite a few of these.
Can anybody else confirm?
06:25:13.275 [error] GenServer XPRefactorex.NameCache terminating
** (FunctionClauseError) no function clause matching in anonymous fn/1 in XPRefactorex.Refactor.Function.next_available_function_name/2
(xp_refactorex 0.1.52) lib/refactorex/refactor/function.ex:101: anonymous fn({:def, [trailing_comments: [], leading_comments: [], end_of_expression: [newlines: 2, line: 149, column: 49], line: 149, column: 3], [{:count_payments_by_timeframe, [trailing_comments: [], leading_comments: [], closing: [line: 149, column: 48], line: 149, column: 7], [{:\\, [trailing_comments: [], line: 149, column: 43], [{:options, [trailing_comments: [], leading_comments: [], line: 149, column: 35], nil}, {:__block__, [trailing_comments: [], leading_comments: [], closing: [line: 149, column: 47], line: 149, column: 46], [[]]}]}]}]}) in XPRefactorex.Refactor.Function.next_available_function_name/2
(xp_refactorex 0.1.52) lib/refactorex/refactor/module.ex:32: anonymous fn/4 in XPRefactorex.Refactor.Module.next_available_name/4
(elixir 1.20.0-rc.4) lib/enum.ex:2617: Enum."-reduce/3-lists^foldl/2-0-"/3
(xp_refactorex 0.1.52) lib/refactorex/refactor/module.ex:30: XPRefactorex.Refactor.Module.next_available_name/4
(xp_refactorex 0.1.52) lib/refactorex/name_cache.ex:16: anonymous fn/2 in XPRefactorex.NameCache.consume_name_or/1
(elixir 1.20.0-rc.4) lib/agent/server.ex:20: Agent.Server.handle_call/3
(stdlib 7.3) gen_server.erl:2470: :gen_server.try_handle_call/4
(stdlib 7.3) gen_server.erl:2499: :gen_server.handle_msg/3
Last message (from #PID<0.8935.0>): {:get_and_update, #Function<0.54130436/1 in XPRefactorex.NameCache.consume_name_or/1>}
State: nil
Client #PID<0.8935.0> is alive
(stdlib 7.3) gen.erl:262: :gen.do_call/4
(elixir 1.20.0-rc.4) lib/gen_server.ex:1177: GenServer.call/3
(xp_refactorex 0.1.52) lib/refactorex/refactor/function/extract_function.ex:41: XPRefactorex.Refactor.Function.ExtractFunction.refactor/2
(xp_refactorex 0.1.52) lib/refactorex/refactor/function/extract_function.ex:2: XPRefactorex.Refactor.Function.ExtractFunction.visit/4
(xp_sourceror 1.10.1) lib/sourceror/zipper.ex:612: XPSourceror.Zipper.do_traverse_while/3
(xp_sourceror 1.10.1) lib/sourceror/zipper.ex:607: XPSourceror.Zipper.traverse_while/3
(xp_refactorex 0.1.52) lib/refactorex/refactor/function/extract_function.ex:2: XPRefactorex.Refactor.Function.ExtractFunction.execute/2
(xp_refactorex 0.1.52) lib/refactorex/refactor.ex:115: anonymous fn/4 in XPRefactorex.Refactor.available_refactorings/4
There might be something wrong with the setup on my end but lately I see quite a few of these.
Can anybody else confirm?