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

Unified Diff: test/dart_codegen/expect/collection/set.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/queue.dart ('k') | test/dart_codegen/expect/collection/splay_tree.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/collection/set.dart
diff --git a/test/dart_codegen/expect/collection/set.dart b/test/dart_codegen/expect/collection/set.dart
index 7d15c6dd16b98296384dccb136db1571ec06520b..5b3b16c48ac4576e29b6514f3fa1c1f4e248bdca 100644
--- a/test/dart_codegen/expect/collection/set.dart
+++ b/test/dart_codegen/expect/collection/set.dart
@@ -74,7 +74,7 @@ part of dart.collection;
if (length > 1) throw IterableElementError.tooMany();
Iterator it = iterator;
if (!it.moveNext()) throw IterableElementError.noElement();
- E result = DEVC$RT.cast(it.current, dynamic, E, "CastGeneral", """line 130, column 16 of dart:collection/set.dart: """, it.current is E, false);
+ E result = DEVC$RT.cast(it.current, dynamic, E, "CompositeCast", """line 130, column 16 of dart:collection/set.dart: """, it.current is E, false);
return result;
}
String toString() => IterableBase.iterableToFullString(this, '{', '}');
@@ -146,7 +146,7 @@ part of dart.collection;
if (!it.moveNext()) {
throw IterableElementError.noElement();
}
- return DEVC$RT.cast(it.current, dynamic, E, "CastGeneral", """line 220, column 12 of dart:collection/set.dart: """, it.current is E, false);
+ return DEVC$RT.cast(it.current, dynamic, E, "CompositeCast", """line 220, column 12 of dart:collection/set.dart: """, it.current is E, false);
}
E get last {
Iterator it = iterator;
@@ -155,7 +155,7 @@ part of dart.collection;
}
E result;
do {
- result = DEVC$RT.cast(it.current, dynamic, E, "CastGeneral", """line 230, column 16 of dart:collection/set.dart: """, it.current is E, false);
+ result = DEVC$RT.cast(it.current, dynamic, E, "CompositeCast", """line 230, column 16 of dart:collection/set.dart: """, it.current is E, false);
}
while (it.moveNext()); return result;
}
« no previous file with comments | « test/dart_codegen/expect/collection/queue.dart ('k') | test/dart_codegen/expect/collection/splay_tree.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698