Chromium Code Reviews| 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 373b65dd369bdeb11dd39c4a24a414d33096fe64..4846cb613af23cb235bec04ffce8b6b867b2b958 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 |
| @@ -60,10 +60,10 @@ String getReflectionDataParser(String classesCollector, Namer namer) { |
| 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); |
|
Johnni Winther
2013/11/25 07:19:20
Indent to align `mangledGlobalNames...` under `fir
zarah
2013/12/19 10:53:34
Done.
|
| + if (element == 1) descriptor[previousProperty].$reflectableField = 1; |
|
Johnni Winther
2013/11/25 07:19:20
Indent to align with `if (element)...` below.
zarah
2013/12/19 10:53:34
Done.
|
| if (element && element.length) ''' // Break long line. |
| '''init.typeInformation[previousProperty] = element; |
| } else if (firstChar === "@") { |