Skip to content

Commit

Permalink
fix crash due to invalid map key
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jan 17, 2024
1 parent 84b2b2d commit 6db6971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/language_server/lib/language_server/parser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ defmodule ElixirLS.LanguageServer.Parser do
if updated_by_ref == %{} do
updated_parse_pids
else
Map.put(updated_parse_pids, ref, updated_by_ref)
Map.put(updated_parse_pids, {uri, version}, updated_by_ref)
end

if reason != :normal and from != nil do
Expand Down

0 comments on commit 6db6971

Please sign in to comment.