Skip to content

Commit 9f00d0c

Browse files
scheglovcommit-bot@chromium.org
authored andcommitted
Deprecate DriverOptions.mockSdk
Change-Id: I7f28a8ac1fbbc45693b6fe038bf5490440703ccf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218020 Reviewed-by: Samuel Rawlins <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
1 parent 1aa6fa4 commit 9f00d0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/analyzer/lib/src/lint/analysis.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class DriverOptions {
7575
bool strongMode = true;
7676

7777
/// The mock SDK (to speed up testing) or `null` to use the actual SDK.
78+
@Deprecated('Use createMockSdk() and set dartSdkPath')
7879
DartSdk? mockSdk;
7980

8081
/// Return `true` is the parser is able to parse asserts in the initializer

0 commit comments

Comments
 (0)