Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Jul 17, 2024
1 parent db81600 commit b381ed7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ private SolutionCompilationState UpdateDocumentsInMultipleProjects<TDocumentData
var projectState = SolutionState.GetRequiredProjectState(projectId);
using var _ = ArrayBuilder<DocumentState>.GetInstance(out var newDocumentStates);
foreach (var (documentId, documentData) in updates)
foreach (var (documentId, documentData) in g)
{
var documentState = projectState.DocumentStates.GetRequiredState(documentId);
var newDocumentState = updateDocument(documentState, documentData, arg);
Expand All @@ -733,7 +733,7 @@ private SolutionCompilationState UpdateDocumentsInMultipleProjects<TDocumentData
return (projectId, newDocumentStates.ToImmutableAndClear());
}),
GetUpdateDocumentsTranslationAction);
GetUpdateDocumentsTranslationAction);
}

private static TranslationAction GetUpdateDocumentsTranslationAction(ProjectState projectState, ImmutableArray<DocumentState> newDocumentStates)
Expand Down

0 comments on commit b381ed7

Please sign in to comment.