| Index: pkg/analyzer/lib/src/context/context.dart
|
| diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart
|
| index 7815864b88b325362543b8c4c5c2c1609dd299c3..dbe6abfaf914eafa2deacbc5c8a2528f89e12276 100644
|
| --- a/pkg/analyzer/lib/src/context/context.dart
|
| +++ b/pkg/analyzer/lib/src/context/context.dart
|
| @@ -843,10 +843,8 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| }
|
|
|
| @override
|
| - InternalAnalysisContext getContextFor(Source source) {
|
| - InternalAnalysisContext context = _cache.getContextFor(source);
|
| - return context == null ? this : context;
|
| - }
|
| + InternalAnalysisContext getContextFor(Source source) =>
|
| + _cache.getContextFor(source) ?? this;
|
|
|
| @override
|
| Element getElement(ElementLocation location) {
|
|
|