Skip to content

Commit

Permalink
fix crash in dialyzer when dialyze is already in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed May 6, 2024
1 parent a4809ce commit c480ca9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ defmodule ElixirLS.LanguageServer.DialyzerIncremental do
{:noreply, state}
end

def handle_cast({:analyze, _build_ref, _warn_opts, _warning_format} = msg, state) do
def handle_cast({:analyze, _build_ref, _warn_opts, _warning_format, _project_dir} = msg, state) do
# analysis in progress - store last requested build
# we will trigger one more time
{:noreply, %{state | next_build: msg}}
Expand Down

0 comments on commit c480ca9

Please sign in to comment.