| Index: pkg/compiler/lib/src/enqueue.dart
|
| diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
|
| index 01b258ed9d62bbe5fcde1c92a87dfba56790af9a..73615766acb232c0eb8555b186135b845133f9ca 100644
|
| --- a/pkg/compiler/lib/src/enqueue.dart
|
| +++ b/pkg/compiler/lib/src/enqueue.dart
|
| @@ -776,7 +776,7 @@ class ResolutionEnqueuer extends Enqueuer {
|
| compiler.enabledRuntimeType = true;
|
| // TODO(ahe): Record precise dependency here.
|
| compiler.backend.registerRuntimeType(this, compiler.globalDependencies);
|
| - } else if (element == compiler.functionApplyMethod) {
|
| + } else if (compiler.commonElements.isFunctionApplyMethod(element)) {
|
| compiler.enabledFunctionApply = true;
|
| }
|
|
|
|
|