Skip to content

Commit c480ca9

Browse files
committed
fix crash in dialyzer when dialyze is already in progress
1 parent a4809ce commit c480ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/language_server/lib/language_server/dialyzer_incremental.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ defmodule ElixirLS.LanguageServer.DialyzerIncremental do
167167
{:noreply, state}
168168
end
169169

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

0 commit comments

Comments
 (0)