| Index: pkg/analyzer/lib/src/services/lint.dart
|
| diff --git a/pkg/analyzer/lib/src/services/lint.dart b/pkg/analyzer/lib/src/services/lint.dart
|
| index 3b364572d68e3d8d9a09085a4d8ed289cc8763a9..3eea1b7c327025695a510eac3a1adc4d0dd2373d 100644
|
| --- a/pkg/analyzer/lib/src/services/lint.dart
|
| +++ b/pkg/analyzer/lib/src/services/lint.dart
|
| @@ -25,8 +25,7 @@ LintRegistry lintRegistry = new LintRegistry();
|
| /// Return lints associated with this [context], or an empty list if there are
|
| /// none.
|
| List<Linter> getLints(AnalysisContext context) =>
|
| - context.getConfigurationData(CONFIGURED_LINTS_KEY) as List<Linter> ??
|
| - _noLints;
|
| + context.getConfigurationData(CONFIGURED_LINTS_KEY) ?? _noLints;
|
|
|
| /// Associate these [lints] with the given [context].
|
| void setLints(AnalysisContext context, List<Linter> lints) {
|
|
|