diff --git a/pkg/analyzer/lib/src/lint/analysis.dart b/pkg/analyzer/lib/src/lint/analysis.dart index b43bd0c46c7..2e6974efe41 100644 --- a/pkg/analyzer/lib/src/lint/analysis.dart +++ b/pkg/analyzer/lib/src/lint/analysis.dart @@ -75,6 +75,7 @@ class DriverOptions { bool strongMode = true; /// The mock SDK (to speed up testing) or `null` to use the actual SDK. + @Deprecated('Use createMockSdk() and set dartSdkPath') DartSdk? mockSdk; /// Return `true` is the parser is able to parse asserts in the initializer