Skip to content

Commit a3e18f6

Browse files
committed
Try to prevent races.
1 parent a262066 commit a3e18f6

File tree

1 file changed

+1
-1
lines changed
  • rascal-lsp/src/main/rascal/lang/rascal/lsp/refactor

1 file changed

+1
-1
lines changed

rascal-lsp/src/main/rascal/lang/rascal/lsp/refactor/Rename.rsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ Edits rascalRenameSymbol(Tree cursorT, set[loc] workspaceFolders, str newName, P
650650
list[DocumentEdit] changes = [changed(file, moduleResults[file]) | file <- moduleResults];
651651
list[DocumentEdit] renames = [renamed(from, to) | <from, to> <- getRenames(rascalUnescapeName(newName))];
652652
653-
return <changes + renames, changeAnnotations>;
653+
return <renames + changes, changeAnnotations>;
654654
}, totalWork = 7);
655655
656656
Edits rascalRenameModule(list[tuple[loc old, loc new]] renames, set[loc] workspaceFolders, PathConfig(loc) getPathConfig) =

0 commit comments

Comments
 (0)