Skip to content

Commit f323408

Browse files
authored
Handle extended head mismatch error (#1439)
1 parent 290863d commit f323408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/els_lsp/src/els_compiler_diagnostics.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ make_code(qlc, {error, _Module, _Reason}) ->
611611
make_code(qlc, _E) ->
612612
<<"Q1699">>;
613613
%% stdlib-3.15.2/src/erl_parse.yrl
614-
make_code(erl_parse, "head mismatch") ->
614+
make_code(erl_parse, "head mismatch" ++ _) ->
615615
<<"P1700">>;
616616
make_code(erl_parse, "bad type variable") ->
617617
<<"P1701">>;

0 commit comments

Comments
 (0)