| Index: sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart (revision 32895)
|
| +++ sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart (working copy)
|
| @@ -224,7 +224,7 @@
|
| var globalObject = data[3];
|
| var descriptor = data[4];
|
| var isRoot = !!data[5];
|
| - var fields = descriptor && descriptor[""];
|
| + var fields = descriptor && descriptor["${namer.classDescriptorProperty}"];
|
| var classes = [];
|
| var functions = [];
|
| ''';
|
| @@ -233,7 +233,7 @@
|
| function processStatics(descriptor) {
|
| for (var property in descriptor) {
|
| if (!hasOwnProperty.call(descriptor, property)) continue;
|
| - if (property === "") continue;
|
| + if (property === "${namer.classDescriptorProperty}") continue;
|
| var element = descriptor[property];
|
| var firstChar = property.substring(0, 1);
|
| var previousProperty;
|
| @@ -286,7 +286,8 @@
|
| optionalMethods[prop] = previousProp;
|
| } else {
|
| var elem = element[prop];
|
| - if (prop && elem != null &&''' // Break long line.
|
| + if (prop !== "${namer.classDescriptorProperty}" &&'''
|
| + ''' elem != null &&''' // Break long line.
|
| ''' elem.constructor === Array &&''' // Break long line.
|
| ''' prop !== "<>") {
|
| addStubs(newDesc, elem, prop, false, element, []);
|
|
|