Skip to content

[1.x] Pass useConsistent to staticCachedStore #7869

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

Friendseeker
Copy link
Member

@Friendseeker Friendseeker commented Nov 4, 2024

Not sure if there's a specific reason to drop useConsistent in AnalysisUtil.staticCachedStore, but if we don't have a specific reason we should pass it along. If we do have a specific reason I feel we should add a comment here to explain the rationale.

@Friendseeker Friendseeker requested a review from eed3si9n November 4, 2024 21:22
@Friendseeker Friendseeker changed the title Pass useConsistent to staticCachedStore [1.x] Pass useConsistent to staticCachedStore Nov 4, 2024
@Friendseeker Friendseeker requested a review from adpi2 November 4, 2024 21:33
@@ -30,7 +30,7 @@ private[sbt] object AnalysisUtil {
MixedAnalyzingCompiler.staticCachedStore(
analysisFile = analysisFile,
useTextAnalysis = useTextAnalysis,
useConsistent = false,
useConsistent = useConsistent,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. I think this was an oversight on my part.

@eed3si9n eed3si9n merged commit fd37450 into sbt:1.10.x Nov 5, 2024
10 checks passed
@Friendseeker Friendseeker deleted the pass-use-consistent branch November 5, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants