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

Unified Diff: test/dart_codegen/expect/collection/list.dart

Issue 1038583004: Rationalize coercions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 9 months 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
« no previous file with comments | « test/dart_codegen/expect/collection/linked_list.dart ('k') | test/dart_codegen/expect/collection/maps.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/collection/list.dart
diff --git a/test/dart_codegen/expect/collection/list.dart b/test/dart_codegen/expect/collection/list.dart
index 2d86128e56eca1ccda7fb2976b13040d3c98e017..b22da23805e272633f11bdc8ed402861fd73d71a 100644
--- a/test/dart_codegen/expect/collection/list.dart
+++ b/test/dart_codegen/expect/collection/list.dart
@@ -277,7 +277,7 @@ RangeError.checkValidRange(start, end, this.length);
}
), DEVC$RT.type((List<dynamic> _) {
}
- ), "CastGeneral", """line 369, column 19 of dart:collection/list.dart: """, iterable is List<dynamic>, true);
+ ), "ImplicitCast", """line 369, column 19 of dart:collection/list.dart: """, iterable is List<dynamic>, true);
otherStart = skipCount;
}
else {
@@ -289,12 +289,12 @@ RangeError.checkValidRange(start, end, this.length);
}
if (otherStart < start) {
for (int i = length - 1; i >= 0; i--) {
- this[start + i] = ((__x11) => DEVC$RT.cast(__x11, dynamic, E, "CastGeneral", """line 381, column 27 of dart:collection/list.dart: """, __x11 is E, false))(otherList[otherStart + i]);
+ this[start + i] = ((__x11) => DEVC$RT.cast(__x11, dynamic, E, "CompositeCast", """line 381, column 27 of dart:collection/list.dart: """, __x11 is E, false))(otherList[otherStart + i]);
}
}
else {
for (int i = 0; i < length; i++) {
- this[start + i] = ((__x12) => DEVC$RT.cast(__x12, dynamic, E, "CastGeneral", """line 385, column 27 of dart:collection/list.dart: """, __x12 is E, false))(otherList[otherStart + i]);
+ this[start + i] = ((__x12) => DEVC$RT.cast(__x12, dynamic, E, "CompositeCast", """line 385, column 27 of dart:collection/list.dart: """, __x12 is E, false))(otherList[otherStart + i]);
}
}
}
« no previous file with comments | « test/dart_codegen/expect/collection/linked_list.dart ('k') | test/dart_codegen/expect/collection/maps.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698