Skip to content

Commit e0d12a8

Browse files
scheglovCommit Queue
authored andcommitted
Fine. Use 'withFineDependencies: true' in analysis_server/.
Change-Id: I13fb9e2e8dfaca2e6eeca286e415c6df4bc10094 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/462240 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com>
1 parent 429062a commit e0d12a8

File tree

7 files changed

+8
-0
lines changed

7 files changed

+8
-0
lines changed

pkg/analysis_server/lib/src/g3/fixes.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class LintFixTester {
6363
resourceProvider: _resourceProvider,
6464
sdkPath: sdkPath,
6565
packagesFile: packageConfigPath,
66+
withFineDependencies: true,
6667
);
6768
var analysisContext = collection.contextFor(path);
6869
var analysisSession = analysisContext.currentSession;

pkg/analysis_server/lib/src/handler/legacy/edit_bulk_fixes.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class EditBulkFixes extends LegacyHandler {
4545
resourceProvider: server.resourceProvider,
4646
sdkPath: server.sdkPath,
4747
byteStore: server.byteStore,
48+
withFineDependencies: true,
4849
);
4950
var workspace = DartChangeWorkspace(
5051
collection.contexts.map((c) => c.currentSession).toList(),

pkg/analysis_server/lib/src/handler/legacy/edit_format_if_enabled.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class EditFormatIfEnabledHandler extends LegacyHandler {
6363
includedPaths: params.directories,
6464
resourceProvider: server.resourceProvider,
6565
sdkPath: server.sdkPath,
66+
withFineDependencies: true,
6667
);
6768
var sourceFileEdits = <SourceFileEdit>[];
6869
for (var context in collection.contexts) {

pkg/analysis_server/test/abstract_context.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ class AbstractContextTest
279279
includedPaths: collectionIncludedPaths.map(convertPath).toList(),
280280
resourceProvider: resourceProvider,
281281
sdkPath: sdkRoot.path,
282+
withFineDependencies: true,
282283
);
283284

284285
_addAnalyzedFilesToDrivers();

pkg/analysis_server/tool/code_completion/benchmark/flutter.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Future<void> _runForever({
5959
resourceProvider: resourceProvider,
6060
includedPaths: [path],
6161
sdkPath: '/Users/scheglov/Applications/dart-sdk',
62+
withFineDependencies: true,
6263
);
6364
var analysisContext = collection.contextFor(path);
6465
var analysisSession = analysisContext.currentSession;

pkg/analysis_server/tool/code_completion/completion_metrics_base.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ abstract class CompletionMetricsComputer {
5454
includedPaths: root.includedPaths.toList(),
5555
excludedPaths: root.excludedPaths.toList(),
5656
resourceProvider: provider,
57+
withFineDependencies: true,
5758
);
5859

5960
var context = collection.contexts[0];
@@ -93,6 +94,7 @@ abstract class CompletionMetricsComputer {
9394
var collection = AnalysisContextCollectionImpl(
9495
includedPaths: [rootPath],
9596
resourceProvider: PhysicalResourceProvider.INSTANCE,
97+
withFineDependencies: true,
9698
);
9799
for (var context in collection.contexts) {
98100
await computeInContext(context.contextRoot);

pkg/analysis_server/tool/performance/utilities/analysis_tester.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ class AnalysisTester {
115115
includedPaths: packagePaths.toList(),
116116
scheduler: scheduler,
117117
performanceLog: log,
118+
withFineDependencies: true,
118119
);
119120
for (var context in collection.contexts) {
120121
var contextRoot = context.contextRoot;

0 commit comments

Comments
 (0)