Index: lib/compiler/implementation/enqueue.dart |
diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart |
index 6ac8d8f8fa1fce744fa567f3016d24a42f1a35e8..eac0761044ab1cad606f5fa68012a26382cd8ee9 100644 |
--- a/lib/compiler/implementation/enqueue.dart |
+++ b/lib/compiler/implementation/enqueue.dart |
@@ -105,6 +105,8 @@ class Enqueuer { |
compiler.enabledRuntimeType = true; |
} else if (element == compiler.functionApplyMethod) { |
compiler.enabledFunctionApply = true; |
+ } else if (element == compiler.invokeOnMethod) { |
+ compiler.enabledInvokeOn = true; |
} |
// Enable isolate support if we start using something from the |