Semantic Diff

#9031 Update analysis metadata and Markdown navigation links

3 commits

d48d577bf67854c0023aa07a2a5a219d015d1f9f..pr-9031

15f5d2627 · aspeddro · Oct 24, 2026, 23:06 UTC

Update analysis metadata and Markdown navigation links

Why

Extract the editor-facing analysis changes from the LSP branch without depending on the new server. Identify syntax diagnostics consistently and remove the VSCode-specific navigation command.

modifiedRepresentation code action document version

text
Before
After
"version": null"version": 0

modifiedDiagnostic syntax diagnostic source

text
Before
After
No source field"source": "ReScript"

modifiedFormat definition links in Markdown

text
Before
After
command:rescript-vscode.go_to_location?...file:///workspace/Test.res#L5,8

Add serialization and URI regression tests and refresh only snapshots affected by the diagnostic source and one-based navigation fragments.

Review

  • Does version zero represent every open document? No. This extraction preserves the LSP branch's fixed version zero. Clients may reject edits when their document version has advanced.
cf8b3b0d0 · aspeddro · Oct 24, 2026, 23:23 UTC

remove test

ee1170bad · aspeddro · Oct 24, 2026, 23:26 UTC

remove deadcode