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

Unified Diff: lib/src/checker/dart_sdk.dart

Issue 1051523002: Update mock sdk to fix test (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: 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 | « no previous file | test/checker/inferred_type_test.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 dfbda71ef78787d3ce8b42eb717314dda47a41d2..a8649a9df4e4ca6a4f43677de33af49de3e23f7d 100644
--- a/lib/src/checker/dart_sdk.dart
+++ b/lib/src/checker/dart_sdk.dart
@@ -144,7 +144,9 @@ final Map<String, String> mockSdkSources = {
List([int length]);
List.filled(int length, E fill);
}
- class Map<K, V> {}
+ class Map<K, V> {
+ Iterable<K> get keys {}
+ }
''',
'dart:async': '''
class Future<T> {
« no previous file with comments | « no previous file | test/checker/inferred_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698