Skip to content

Commit

Permalink
Try to prevent races by doing renames last.
Browse files Browse the repository at this point in the history
  • Loading branch information
toinehartman committed Dec 23, 2024
1 parent a262066 commit 6728483
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ Edits rascalRenameSymbol(Tree cursorT, set[loc] workspaceFolders, str newName, P
list[DocumentEdit] changes = [changed(file, moduleResults[file]) | file <- moduleResults];
list[DocumentEdit] renames = [renamed(from, to) | <from, to> <- getRenames(rascalUnescapeName(newName))];
return <changes + renames, changeAnnotations>;
return <renames + changes, changeAnnotations>;
}, totalWork = 7);
Edits rascalRenameModule(list[tuple[loc old, loc new]] renames, set[loc] workspaceFolders, PathConfig(loc) getPathConfig) =
Expand Down

0 comments on commit 6728483

Please sign in to comment.