Index: pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
index 24a66e9a966629723b634b15e5814ec3d3daf22d..a8dc281852d2c19ee3715307976ecee989ffe4c4 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
@@ -134,8 +134,8 @@ jsAst.Statement buildSetupProgram(Program program, Compiler compiler, |
'trivialNsmHandlers': emitter.buildTrivialNsmHandlers(), |
'hasRetainedMetadata': backend.hasRetainedMetadata, |
'types': typesAccess, |
- 'objectClassName': js |
- .quoteName(namer.runtimeTypeName(compiler.commonElements.objectClass)), |
+ 'objectClassName': js.quoteName( |
+ namer.runtimeTypeName(compiler.commonElements.objectClass as Entity)), |
'needsStructuredMemberInfo': emitter.needsStructuredMemberInfo, |
'usesMangledNames': compiler.commonElements.mirrorsLibrary != null || |
backend.hasFunctionApplySupport, |