Skip to content

Commit 0634719

Browse files
committed
rename to keep similarity to elixir
1 parent 530efc2 commit 0634719

File tree

1 file changed

+3
-3
lines changed
  • apps/debug_adapter/lib/debug_adapter

1 file changed

+3
-3
lines changed

apps/debug_adapter/lib/debug_adapter/server.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ defmodule ElixirLS.DebugAdapter.Server do
102102

103103
env = unquote(env_with_line_from_asts(first_ast_chunk))
104104

105-
next? = unquote(__MODULE__).pry_with_next(true, binding(), env)
105+
next? = unquote(__MODULE__).__next__(true, binding(), env)
106106
value = unquote(pipe_chunk_of_asts(first_ast_chunk))
107107

108108
unquote(__MODULE__).__dbg_pipe_step__(
@@ -121,7 +121,7 @@ defmodule ElixirLS.DebugAdapter.Server do
121121
quote do
122122
unquote(ast_acc)
123123
env = unquote(env_with_line_from_asts(asts_chunk))
124-
next? = unquote(__MODULE__).pry_with_next(next?, binding(), env)
124+
next? = unquote(__MODULE__).__next__(next?, binding(), env)
125125
value = unquote(piped_asts)
126126

127127
unquote(__MODULE__).__dbg_pipe_step__(
@@ -142,7 +142,7 @@ defmodule ElixirLS.DebugAdapter.Server do
142142
end
143143
end
144144

145-
def pry_with_next(next?, binding, opts_or_env) when is_boolean(next?) do
145+
def __next__(next?, binding, opts_or_env) when is_boolean(next?) do
146146
if next? do
147147
{:current_stacktrace, stacktrace} = Process.info(self(), :current_stacktrace)
148148

0 commit comments

Comments
 (0)