Skip to content

Commit

Permalink
Handle extended head mismatch error (#1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristgit committed Jul 8, 2023
1 parent 290863d commit f323408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/els_lsp/src/els_compiler_diagnostics.erl
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ make_code(qlc, {error, _Module, _Reason}) ->
make_code(qlc, _E) ->
<<"Q1699">>;
%% stdlib-3.15.2/src/erl_parse.yrl
make_code(erl_parse, "head mismatch") ->
make_code(erl_parse, "head mismatch" ++ _) ->
<<"P1700">>;
make_code(erl_parse, "bad type variable") ->
<<"P1701">>;
Expand Down

0 comments on commit f323408

Please sign in to comment.