Skip to content

Commit c4926e3

Browse files
committed
Avoid reading beams written by different elixir version in dialyzer
attempt to workaround elixir-lang/elixir#12394
1 parent 87e7cb8 commit c4926e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/language_server/lib/language_server/dialyzer.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ defmodule ElixirLS.LanguageServer.Dialyzer do
319319
end
320320

321321
defp temp_file_path(root_path, file) do
322-
Path.join([root_path, ".elixir_ls/dialyzer_tmp", file])
322+
Path.join([root_path, ".elixir_ls/dialyzer_#{System.otp_release()}_#{System.version()}_tmp", file])
323323
end
324324

325325
defp write_temp_file(root_path, file_path, content) do

0 commit comments

Comments
 (0)