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 799e28897030a6c383d13acb4bc44a447687a297..91a189bb6691dc31f9bb415ca494d625c1fa49e7 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 |
@@ -132,8 +132,9 @@ jsAst.Statement buildSetupProgram(Program program, Compiler compiler, |
'trivialNsmHandlers': emitter.buildTrivialNsmHandlers(), |
'hasRetainedMetadata': backend.mirrorsData.hasRetainedMetadata, |
'types': typesAccess, |
- 'objectClassName': js.quoteName( |
- namer.runtimeTypeName(compiler.commonElements.objectClass as Entity)), |
+ 'objectClassName': js.quoteName(namer.runtimeTypeName( |
+ // ignore: UNNECESSARY_CAST |
+ compiler.commonElements.objectClass as Entity)), |
'needsStructuredMemberInfo': emitter.needsStructuredMemberInfo, |
'usesMangledNames': compiler.commonElements.mirrorsLibrary != null || |
backend.backendUsage.isFunctionApplyUsed, |