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

Unified Diff: test/dart_codegen/expect/collection/maps.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/list.dart ('k') | test/dart_codegen/expect/collection/queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/collection/maps.dart
diff --git a/test/dart_codegen/expect/collection/maps.dart b/test/dart_codegen/expect/collection/maps.dart
index 45c30cfe498aa5913b7d1b7639dda1ce04968c88..381ccf033752cb3afac36fed9a4529110b51a536 100644
--- a/test/dart_codegen/expect/collection/maps.dart
+++ b/test/dart_codegen/expect/collection/maps.dart
@@ -40,9 +40,9 @@ part of dart.collection;
int get length => _map.length;
bool get isEmpty => _map.isEmpty;
bool get isNotEmpty => _map.isNotEmpty;
- V get first => ((__x13) => DEVC$RT.cast(__x13, dynamic, V, "CastGeneral", """line 122, column 18 of dart:collection/maps.dart: """, __x13 is V, false))(_map[_map.keys.first]);
- V get single => ((__x14) => DEVC$RT.cast(__x14, dynamic, V, "CastGeneral", """line 123, column 19 of dart:collection/maps.dart: """, __x14 is V, false))(_map[_map.keys.single]);
- V get last => ((__x15) => DEVC$RT.cast(__x15, dynamic, V, "CastGeneral", """line 124, column 17 of dart:collection/maps.dart: """, __x15 is V, false))(_map[_map.keys.last]);
+ V get first => ((__x13) => DEVC$RT.cast(__x13, dynamic, V, "CompositeCast", """line 122, column 18 of dart:collection/maps.dart: """, __x13 is V, false))(_map[_map.keys.first]);
+ V get single => ((__x14) => DEVC$RT.cast(__x14, dynamic, V, "CompositeCast", """line 123, column 19 of dart:collection/maps.dart: """, __x14 is V, false))(_map[_map.keys.single]);
+ V get last => ((__x15) => DEVC$RT.cast(__x15, dynamic, V, "CompositeCast", """line 124, column 17 of dart:collection/maps.dart: """, __x15 is V, false))(_map[_map.keys.last]);
Iterator<V> get iterator => new _MapBaseValueIterator<V>(_map);
}
class _MapBaseValueIterator<V> implements Iterator<V> {final Iterator _keys;
@@ -51,7 +51,7 @@ part of dart.collection;
_MapBaseValueIterator(Map map) : _map = map, _keys = map.keys.iterator;
bool moveNext() {
if (_keys.moveNext()) {
-_current = ((__x16) => DEVC$RT.cast(__x16, dynamic, V, "CastGeneral", """line 144, column 18 of dart:collection/maps.dart: """, __x16 is V, false))(_map[_keys.current]);
+_current = ((__x16) => DEVC$RT.cast(__x16, dynamic, V, "CompositeCast", """line 144, column 18 of dart:collection/maps.dart: """, __x16 is V, false))(_map[_keys.current]);
return true;
}
_current = null;
« no previous file with comments | « test/dart_codegen/expect/collection/list.dart ('k') | test/dart_codegen/expect/collection/queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698