| 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 7285f1ddfb6387df20297d5895e88bae232f7763..aa0f4966e01a3ec2d090f3cf5e7484aa313ee11f 100644
|
| --- a/pkg/analyzer/lib/src/generated/error_verifier.dart
|
| +++ b/pkg/analyzer/lib/src/generated/error_verifier.dart
|
| @@ -33,7 +33,7 @@ import 'package:analyzer/src/generated/source.dart';
|
| import 'package:analyzer/src/generated/utilities_dart.dart';
|
| import 'package:analyzer/src/task/dart.dart';
|
| import 'package:analyzer/src/task/strong/checker.dart' as checker
|
| - show isKnownFunction;
|
| + show hasStrictArrow;
|
|
|
| /**
|
| * A visitor used to traverse an AST structure looking for additional errors and
|
| @@ -6248,7 +6248,7 @@ class ErrorVerifier extends RecursiveAstVisitor<Object> {
|
|
|
| bool _expressionIsAssignableAtType(Expression expression,
|
| DartType actualStaticType, DartType expectedStaticType) {
|
| - bool concrete = _options.strongMode && checker.isKnownFunction(expression);
|
| + bool concrete = _options.strongMode && checker.hasStrictArrow(expression);
|
| if (concrete && actualStaticType is FunctionType) {
|
| actualStaticType =
|
| _typeSystem.functionTypeToConcreteType(actualStaticType);
|
|
|