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

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

Issue 959003003: Typecheck constructor initializers properly (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 10 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 951376fdfbad31e885a21a593c7657d6a3165019..c84140a8c40ae832284f200ee8efd7300bf471e1 100644
--- a/test/dart_codegen/expect/collection/maps.dart
+++ b/test/dart_codegen/expect/collection/maps.dart
@@ -40,21 +40,21 @@ part of dart.collection;
int get length => _map.length;
bool get isEmpty => _map.isEmpty;
bool get isNotEmpty => _map.isNotEmpty;
- V get first => ((__x26) => DDC$RT.cast(__x26, dynamic, V, "CastGeneral", """line 122, column 18 of dart:collection/maps.dart: """, __x26 is V, false))(_map[_map.keys.first]);
- V get single => ((__x27) => DDC$RT.cast(__x27, dynamic, V, "CastGeneral", """line 123, column 19 of dart:collection/maps.dart: """, __x27 is V, false))(_map[_map.keys.single]);
- V get last => ((__x28) => DDC$RT.cast(__x28, dynamic, V, "CastGeneral", """line 124, column 17 of dart:collection/maps.dart: """, __x28 is V, false))(_map[_map.keys.last]);
+ V get first => ((__x32) => DDC$RT.cast(__x32, dynamic, V, "CastGeneral", """line 122, column 18 of dart:collection/maps.dart: """, __x32 is V, false))(_map[_map.keys.first]);
+ V get single => ((__x33) => DDC$RT.cast(__x33, dynamic, V, "CastGeneral", """line 123, column 19 of dart:collection/maps.dart: """, __x33 is V, false))(_map[_map.keys.single]);
+ V get last => ((__x34) => DDC$RT.cast(__x34, dynamic, V, "CastGeneral", """line 124, column 17 of dart:collection/maps.dart: """, __x34 is V, false))(_map[_map.keys.last]);
Iterator<V> get iterator => new _MapBaseValueIterator<V>(_map);
}
class _MapBaseValueIterator<V> implements Iterator<V> {final Iterator _keys;
final Map _map;
- V _current = ((__x29) => DDC$RT.cast(__x29, Null, V, "CastLiteral", """line 138, column 16 of dart:collection/maps.dart: """, __x29 is V, false))(null);
+ V _current = ((__x35) => DDC$RT.cast(__x35, Null, V, "CastLiteral", """line 138, column 16 of dart:collection/maps.dart: """, __x35 is V, false))(null);
_MapBaseValueIterator(Map map) : _map = map, _keys = map.keys.iterator;
bool moveNext() {
if (_keys.moveNext()) {
-_current = ((__x30) => DDC$RT.cast(__x30, dynamic, V, "CastGeneral", """line 144, column 18 of dart:collection/maps.dart: """, __x30 is V, false))(_map[_keys.current]);
+_current = ((__x36) => DDC$RT.cast(__x36, dynamic, V, "CastGeneral", """line 144, column 18 of dart:collection/maps.dart: """, __x36 is V, false))(_map[_keys.current]);
return true;
}
- _current = ((__x31) => DDC$RT.cast(__x31, Null, V, "CastLiteral", """line 147, column 16 of dart:collection/maps.dart: """, __x31 is V, false))(null);
+ _current = ((__x37) => DDC$RT.cast(__x37, Null, V, "CastLiteral", """line 147, column 16 of dart:collection/maps.dart: """, __x37 is V, false))(null);
return false;
}
V get current => _current;
« 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