From f323408b8ab48a9f0864a6da855af60f6e432cfe Mon Sep 17 00:00:00 2001 From: jchristgit Date: Sat, 8 Jul 2023 11:12:10 +0200 Subject: [PATCH] Handle extended head mismatch error (#1439) --- apps/els_lsp/src/els_compiler_diagnostics.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/els_lsp/src/els_compiler_diagnostics.erl b/apps/els_lsp/src/els_compiler_diagnostics.erl index b86283089..58ebb46c4 100644 --- a/apps/els_lsp/src/els_compiler_diagnostics.erl +++ b/apps/els_lsp/src/els_compiler_diagnostics.erl @@ -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">>;