Index: lib/compiler/implementation/enqueue.dart |
diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart |
index eac0761044ab1cad606f5fa68012a26382cd8ee9..7657c167ca73e5b06bfa9f12ed3244120401d9e1 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; |
} else if (element == compiler.invokeOnMethod) { |