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

Unified Diff: lib/src/checker/dart_sdk.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 | « lib/src/checker/checker.dart ('k') | lib/src/info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/checker/dart_sdk.dart
diff --git a/lib/src/checker/dart_sdk.dart b/lib/src/checker/dart_sdk.dart
index 1cacf8d50ce6ffad5acc02a259a0e0feb77efe0d..09ca91f636967c16b3e46dd1337e608f53c4e02e 100644
--- a/lib/src/checker/dart_sdk.dart
+++ b/lib/src/checker/dart_sdk.dart
@@ -140,7 +140,10 @@ final Map<String, String> mockSdkSources = {
const Object proxy = const _Proxy();
class Iterable<E> {}
- class List<E> implements Iterable<E> {}
+ class List<E> implements Iterable<E> {
+ List([int length]);
+ List.filled(int length, E fill);
+ }
class Map<K, V> {}
''',
'dart:async': '''
« no previous file with comments | « lib/src/checker/checker.dart ('k') | lib/src/info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698