| Index: pkg/analyzer/lib/src/task/strong/rules.dart
|
| diff --git a/pkg/analyzer/lib/src/task/strong/rules.dart b/pkg/analyzer/lib/src/task/strong/rules.dart
|
| index ed92a7ecc5a7289ca30b978b3e94fcd1c66eef1e..909a6fb0548cc1bc719deef84fd7ef67508314e2 100644
|
| --- a/pkg/analyzer/lib/src/task/strong/rules.dart
|
| +++ b/pkg/analyzer/lib/src/task/strong/rules.dart
|
| @@ -321,6 +321,10 @@ class TypeRules {
|
| return false;
|
| }
|
|
|
| + if (t1.isVoid || t2.isVoid) {
|
| + return false;
|
| + }
|
| +
|
| if (t2.isDartCoreFunction) {
|
| if (t1 is FunctionType) return true;
|
| if (t1.element is ClassElement) {
|
|
|