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

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

Issue 977613002: Make int and double nullable by default (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: actually upload changes 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
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 5083cc1e9b96d296e579624fd5e8694f8c8c7c24..b677bbfa1d0a5df6de9f8e5d2e361e2d923b4164 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) => ((__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);
+ E operator [](int key) => ((__x22) => DDC$RT.cast(__x22, dynamic, E, "CastGeneral", """line 251, column 29 of dart:_internal/list.dart: """, __x22 is E, false))(containsKey(key) ? _values[key] : null);
int get length => _values.length;
- 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<E> get values => new SubListIterable<E>(_values, 0, null);
Iterable<int> get keys => new _ListIndicesIterable(_values);
bool get isEmpty => _values.isEmpty;
bool get isNotEmpty => _values.isNotEmpty;

Powered by Google App Engine
This is Rietveld 408576698