Skip to content

Commit 749fb59

Browse files
committed
fix crash on dialyzer error
1 parent 3c5c4d6 commit 749fb59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/language_server/lib/language_server/dialyzer_incremental.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ defmodule ElixirLS.LanguageServer.DialyzerIncremental do
368368
"Dialyzer error during incremental PLT build: #{message}\n#{Exception.format_stacktrace(stacktrace)}"
369369
)
370370

371-
[]
371+
{[], nil}
372372

373373
kind, payload ->
374374
{payload, stacktrace} = Exception.blame(kind, payload, __STACKTRACE__)
@@ -377,7 +377,7 @@ defmodule ElixirLS.LanguageServer.DialyzerIncremental do
377377
"Unexpected error during incremental PLT build: #{Exception.format(kind, payload, stacktrace)}"
378378
)
379379

380-
[]
380+
{[], nil}
381381
end
382382
end
383383
end

0 commit comments

Comments
 (0)