Skip to content

Commit f9725ef

Browse files
committed
fix some dialyzer errors
1 parent 5c94b5d commit f9725ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/elixir_ls_debugger/lib/debugger/breakpoint_condition.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ defmodule ElixirLS.Debugger.BreakpointCondition do
3939
GenServer.call(name, {:has_condition?, {module, lines}})
4040
end
4141

42-
@spec get_condition(module, non_neg_integer) :: {String.t(), non_neg_integer, non_neg_integer}
42+
@spec get_condition(module, non_neg_integer) ::
43+
{String.t(), String.t(), non_neg_integer, non_neg_integer}
4344
def get_condition(name \\ __MODULE__, number) do
4445
GenServer.call(name, {:get_condition, number})
4546
end
@@ -171,6 +172,7 @@ defmodule ElixirLS.Debugger.BreakpointCondition do
171172
end
172173
end
173174

175+
@spec eval_condition(String.t(), keyword) :: boolean
174176
def eval_condition("true", _binding), do: true
175177

176178
def eval_condition(condition, elixir_binding) do

0 commit comments

Comments
 (0)