| 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 9ad63abc6e2a442876f3511976d347cffae80069..ecd8a4b681fc090fb2d12aa96b573f7862bb9a50 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
|
| @@ -102,6 +102,8 @@ jsAst.Statement buildSetupProgram(Program program, Compiler compiler,
|
| 'mangledNames': mangledNamesAccess,
|
| 'mangledGlobalNames': mangledGlobalNamesAccess,
|
| 'statics': staticsAccess,
|
| + 'staticsPropertyName': namer.staticsPropertyName,
|
| + 'staticsPropertyNameString': js.quoteName(namer.staticsPropertyName),
|
| 'typeInformation': typeInformationAccess,
|
| 'globalFunctions': globalFunctionsAccess,
|
| 'enabledInvokeOn': compiler.enabledInvokeOn,
|
| @@ -526,10 +528,10 @@ function $setupProgramName(programData, typesOffset) {
|
| for (var i = 0; i < properties.length; i++) {
|
| var property = properties[i];
|
| var firstChar = property.charCodeAt(0);
|
| - if (property === "static") {
|
| - processStatics(#statics[cls] = descriptor.static,
|
| + if (property === #staticsPropertyNameString) {
|
| + processStatics(#statics[cls] = descriptor.#staticsPropertyName,
|
| processedClasses);
|
| - delete descriptor.static;
|
| + delete descriptor.#staticsPropertyName;
|
| } else if (firstChar === 43) { // 43 is "+".
|
| mangledNames[previousProperty] = property.substring(1);
|
| var flag = descriptor[property];
|
|
|