| Index: pkg/analyzer/lib/source/analysis_options_provider.dart
|
| diff --git a/pkg/analyzer/lib/source/analysis_options_provider.dart b/pkg/analyzer/lib/source/analysis_options_provider.dart
|
| index 600dffcbbbc89c1b167dab0769a1ef99c6302318..3b6e33075634fb692c890f5a729414570971bd48 100644
|
| --- a/pkg/analyzer/lib/source/analysis_options_provider.dart
|
| +++ b/pkg/analyzer/lib/source/analysis_options_provider.dart
|
| @@ -73,7 +73,7 @@ class AnalysisOptionsProvider {
|
| throw new OptionsFormatException(
|
| 'Bad options file format (expected String scope key, '
|
| 'got ${k.runtimeType})',
|
| - k != null ? k.span : doc.span);
|
| + (k ?? doc).span);
|
| }
|
| if (v != null && v is! YamlNode) {
|
| throw new OptionsFormatException(
|
|
|