You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mock provider: lpp/rename textEdits not sorted by range.start (spec §15.2 MUST) #69
puzzle/symbols.rsoccurrences unconditionally prepends the declaration range before document-order references, and methods.rs:259-264 emits rename_ranges verbatim. Since solution may legitimately precede ops in a document, rename can emit [decl@line5, ref@line3] — unsorted. §15.2 requires edits sorted by range.start with no declaration-first carve-out (unlike §14.2 references).
Reproduction
lpp/rename on "puzzle p {\n target = 2\n start = 1\n solution = [ d ]\n ops {\n d: x => x + 1\n }\n}" (position on d, newName:"e") — edits arrive out of order.
Acceptance criteria
textEdits in every rename result sorted by range.start; no overlap.
references keeps its spec-blessed declaration-first order.
Activity
e54-bot commentedon Oct 15, 2026
Fixed in #86 (commit 07b02bc).