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

Unified Diff: test/dart_codegen/expect/_internal/list.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/_internal/iterable.dart ('k') | test/dart_codegen/expect/async/future_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/_internal/list.dart
diff --git a/test/dart_codegen/expect/_internal/list.dart b/test/dart_codegen/expect/_internal/list.dart
index 72887587924e0e0b757c61e6d1202ec93b4b67af..5083cc1e9b96d296e579624fd5e8694f8c8c7c24 100644
--- a/test/dart_codegen/expect/_internal/list.dart
+++ b/test/dart_codegen/expect/_internal/list.dart
@@ -109,9 +109,9 @@ RangeError.checkValidIndex(index, this);
}
class ListMapView<E> implements Map<int, E> {List<E> _values;
ListMapView(this._values);
- E operator [](int key) => ((__x18) => DDC$RT.cast(__x18, dynamic, E, "CastGeneral", """line 251, column 29 of dart:_internal/list.dart: """, __x18 is E, false))(containsKey(key) ? _values[key] : null);
+ E operator [](int key) => ((__x31) => DDC$RT.cast(__x31, dynamic, E, "CastGeneral", """line 251, column 29 of dart:_internal/list.dart: """, __x31 is E, false))(containsKey(key) ? _values[key] : null);
int get length => _values.length;
- Iterable<E> get values => new SubListIterable<E>(_values, 0, null);
+ Iterable<E> get values => new SubListIterable<E>(_values, 0, ((__x32) => DDC$RT.cast(__x32, Null, int, "CastLiteral", """line 254, column 64 of dart:_internal/list.dart: """, __x32 is int, true))(null));
Iterable<int> get keys => new _ListIndicesIterable(_values);
bool get isEmpty => _values.isEmpty;
bool get isNotEmpty => _values.isNotEmpty;
« no previous file with comments | « test/dart_codegen/expect/_internal/iterable.dart ('k') | test/dart_codegen/expect/async/future_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698