Skip to content

Commit

Permalink
fix dialyzer warnings in els_hover_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGeorge committed Sep 27, 2021
1 parent 9950680 commit 63162f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/els_lsp/src/els_hover_provider.erl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ run_hover_job(Uri, Line, Character) ->
{ok, Pid} = els_background_job:new(Config),
Pid.

-spec get_docs({uri(), [poi()]}, undefined) -> map() | null.
-spec get_docs({uri(), integer(), integer()}, undefined) -> map() | null.
get_docs({Uri, Line, Character}, _) ->
{ok, Doc} = els_utils:lookup_document(Uri),
POIs = els_dt_document:get_element_at_pos(Doc, Line + 1, Character + 1),
Expand Down

0 comments on commit 63162f5

Please sign in to comment.