Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2098)

Unified Diff: sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart

Issue 100413007: Revert "Support type argument substitution on unnamed mixin applications." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 de487e9f8e2df9507d781fa78cc87c537949541b..1076afe00b48e75ddd575ea8f1e6f64656af08dd 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 === "+" || firstChar === "-") {
- if (firstChar === "+") ''' // Break long line.
- '''mangledGlobalNames[previousProperty] = property.substring(1);
- if (element == 1) descriptor[previousProperty].$reflectableField = 1;
+ if (firstChar === "+") {
+ mangledGlobalNames[previousProperty] = property.substring(1);
+ if (descriptor[property] == 1) ''' // Break long line.
+ '''descriptor[previousProperty].$reflectableField = 1;
if (element && element.length) ''' // Break long line.
'''init.typeInformation[previousProperty] = element;
} else if (firstChar === "@") {
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart ('k') | sdk/lib/_internal/lib/js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698