| Index: sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
|
| index 1076afe00b48e75ddd575ea8f1e6f64656af08dd..de487e9f8e2df9507d781fa78cc87c537949541b 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart
|
| @@ -182,10 +182,10 @@ String getReflectionDataParser(String classesCollector,
|
| var element = descriptor[property];
|
| var firstChar = property.substring(0, 1);
|
| var previousProperty;
|
| - if (firstChar === "+") {
|
| - mangledGlobalNames[previousProperty] = property.substring(1);
|
| - if (descriptor[property] == 1) ''' // Break long line.
|
| - '''descriptor[previousProperty].$reflectableField = 1;
|
| + if (firstChar === "+" || firstChar === "-") {
|
| + if (firstChar === "+") ''' // Break long line.
|
| + '''mangledGlobalNames[previousProperty] = property.substring(1);
|
| + if (element == 1) descriptor[previousProperty].$reflectableField = 1;
|
| if (element && element.length) ''' // Break long line.
|
| '''init.typeInformation[previousProperty] = element;
|
| } else if (firstChar === "@") {
|
|
|