| Index: lib/runtime/dart_sdk.js
|
| diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js
|
| index 30a293d654be97f761c31299e974d07cb1132d8c..a6e19a8295beff5cc4f734773464d927ce53c73d 100644
|
| --- a/lib/runtime/dart_sdk.js
|
| +++ b/lib/runtime/dart_sdk.js
|
| @@ -1122,8 +1122,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| if (t1 === dart.dynamic) return null;
|
| return false;
|
| }
|
| - let result = dart.isClassSubType(t1, t2, covariant);
|
| - if (result === true || result === null) return result;
|
| + if (!(t1 instanceof dart.AbstractFunctionType) && !(t2 instanceof dart.AbstractFunctionType)) {
|
| + let result = dart.isClassSubType(t1, t2, covariant);
|
| + if (result === true || result === null) return result;
|
| + }
|
| t1 = dart.getImplicitFunctionType(t1);
|
| if (!t1) return false;
|
| if (dart.isFunctionType(t1) && dart.isFunctionType(t2)) {
|
|
|