| Index: pkg/analyzer/lib/src/generated/error_verifier.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/error_verifier.dart b/pkg/analyzer/lib/src/generated/error_verifier.dart
|
| index 9a0e179571bd7a9d06471e9a49bc400fcce53588..c77d13ade7f0aff6d6e2bf7dd01d774667d126a8 100644
|
| --- a/pkg/analyzer/lib/src/generated/error_verifier.dart
|
| +++ b/pkg/analyzer/lib/src/generated/error_verifier.dart
|
| @@ -644,8 +644,8 @@ class ErrorVerifier extends RecursiveAstVisitor<Object> {
|
| : functionType.returnType;
|
| bool isSetterWithImplicitReturn =
|
| _enclosingFunction.hasImplicitReturnType &&
|
| - _enclosingFunction is PropertyAccessorElement &&
|
| - (_enclosingFunction as PropertyAccessorElement).isSetter;
|
| + _enclosingFunction is PropertyAccessorElement &&
|
| + (_enclosingFunction as PropertyAccessorElement).isSetter;
|
| if (!isSetterWithImplicitReturn) {
|
| _checkForReturnOfInvalidType(node.expression, expectedReturnType);
|
| }
|
|
|