Index: lib/compiler/implementation/enqueue.dart |
diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart |
index 6ac8d8f8fa1fce744fa567f3016d24a42f1a35e8..fd3d63199dae516c6426590795c87a2d1db19dec 100644 |
--- a/lib/compiler/implementation/enqueue.dart |
+++ b/lib/compiler/implementation/enqueue.dart |
@@ -102,7 +102,7 @@ class Enqueuer { |
// that constructors know whether they need to generate code for |
// runtime type. |
if (element.isGetter() && element.name == Compiler.RUNTIME_TYPE) { |
- compiler.enabledRuntimeType = true; |
+ compiler.enableRuntimeTypeFunction(); |
} else if (element == compiler.functionApplyMethod) { |
compiler.enabledFunctionApply = true; |
} |