Skip to content

Commit

Permalink
Explicitly pass executor.
Browse files Browse the repository at this point in the history
  • Loading branch information
toinehartman committed Dec 23, 2024
1 parent a262066 commit c81ff47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public CompletableFuture<ITuple> getModuleRenames(List<FileRename> fileRenames,
return CompletableFuture.supplyAsync(() -> fileRenames.stream()
.map(r -> VF.tuple(sourceLocationFromUri(r.getOldUri()), sourceLocationFromUri(r.getNewUri())))
.collect(VF.listWriter())
)
, exec)
.thenCompose(renames -> {
return runEvaluator("Rascal module rename", semanticEvaluator, eval -> {
IFunction rascalGetPathConfig = eval.getFunctionValueFactory().function(getPathConfigType, (t, u) -> addResources(getPathConfig.apply((ISourceLocation) t[0])));
Expand Down

0 comments on commit c81ff47

Please sign in to comment.