Index: pkg/dart2js_incremental/lib/caching_compiler.dart |
diff --git a/pkg/dart2js_incremental/lib/caching_compiler.dart b/pkg/dart2js_incremental/lib/caching_compiler.dart |
index 8c6357fd5cd9c620dd765eaec0b2e151ee72b1f9..34f67c64fc824953f95fdd8b4850c04fe33d7fc9 100644 |
--- a/pkg/dart2js_incremental/lib/caching_compiler.dart |
+++ b/pkg/dart2js_incremental/lib/caching_compiler.dart |
@@ -84,7 +84,7 @@ Future<CompilerImpl> reuseCompiler( |
return compiler.libraryLoader.loadLibrary(core).then((_) { |
// Likewise, always be prepared for runtimeType support. |
// TODO(johnniwinther): Add global switch to force RTI. |
- compiler.enabledRuntimeType = true; |
+ compiler.resolverWorld.hasRuntimeTypeSupport = true; |
backend.registerRuntimeType(compiler.enqueuer.resolution); |
return compiler; |
}); |