{"version":"2.0.42","anchor":"lsp-definition-result-normalization","canonical_anchor":"lsp-definition-result-normalization","heading":"LSP Definition Result Normalization","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.42\/e\/lsp-definition-result-normalization","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.42","markdown":"### LSP Definition Result Normalization\n\n**What:** Go-to-definition results are now normalized to handle both Location and LocationLink formats.\n\n**Details:**\n\n- New helper functions `Ih2()` at line 441143 and `Qh2()` at line 441140 detect and convert LocationLink format\n- Function `ds5()` at line 441543 normalizes LocationLink to Location format\n- Updated `Yh2()` at line 441146 to handle mixed result arrays with both formats\n- **Evidence**: `Ih2() at line 441143`, `Qh2() at line 441140`, `ds5() at line 441543`, `Yh2() at line 441146`\n\n**Why it matters:** LSP spec allows servers to return either Location or LocationLink for definitions. Normalization ensures consistent handling regardless of format."}