Index: pkg/compiler/lib/src/elements/modelx.dart |
diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart |
index cae9c9fde3c817b20efb09c85e6043ba581183f2..d40ed24122eeaffd8f1e5219c657912328486879 100644 |
--- a/pkg/compiler/lib/src/elements/modelx.dart |
+++ b/pkg/compiler/lib/src/elements/modelx.dart |
@@ -2613,7 +2613,8 @@ abstract class BaseClassElementX extends ElementX |
} |
bool implementsFunction(Compiler compiler) { |
- return asInstanceOf(compiler.functionClass) != null || callType != null; |
+ return asInstanceOf(compiler.coreClasses.functionClass) != null || |
+ callType != null; |
} |
// TODO(johnniwinther): Remove these when issue 18630 is fixed. |