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 1076afe00b48e75ddd575ea8f1e6f64656af08dd..816416c98d3b0e083da81616a60840ff47761d8d 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); |
|
ahe
2013/12/19 11:57:06
Restore the other version, Johnni prefers it that
zarah
2013/12/20 13:17:21
Done.
|
| + if (element == 1) descriptor[previousProperty].$reflectableField = 1; |
| if (element && element.length) ''' // Break long line. |
| '''init.typeInformation[previousProperty] = element; |
| } else if (firstChar === "@") { |