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

Unified Diff: tests/compiler/dart2js/mock_libraries.dart

Issue 675113002: Support async/await in the dart2js frontend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 6 years, 1 month 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 | « tests/compiler/dart2js/mock_compiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_libraries.dart
diff --git a/tests/compiler/dart2js/mock_libraries.dart b/tests/compiler/dart2js/mock_libraries.dart
index 5f5cc744ea8ac2f17dd80265f4d92b7f8c692e20..f0d2b720d950983dc5e3d03b41ea6dac5d27b82f 100644
--- a/tests/compiler/dart2js/mock_libraries.dart
+++ b/tests/compiler/dart2js/mock_libraries.dart
@@ -42,6 +42,7 @@ const Map<String, String> DEFAULT_CORE_LIBRARY = const <String, String>{
'Function': 'class Function {}',
'identical': 'bool identical(Object a, Object b) { return true; }',
'int': 'abstract class int extends num { }',
+ 'Iterable': 'abstract class Iterable {}',
'LinkedHashMap': r'''
class LinkedHashMap {
factory LinkedHashMap._empty() => null;
@@ -357,6 +358,11 @@ const Map<String, String> DEFAULT_ISOLATE_HELPER_LIBRARY =
'_WorkerBase': 'class _WorkerBase {}',
};
+const Map<String, String> DEFAULT_ASYNC_LIBRARY = const <String, String>{
+ 'Future': 'class Future<T> {}',
+ 'Stream': 'class Stream<T> {}',
+};
+
const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{
'Comment': 'class Comment {}',
'MirrorSystem': 'class MirrorSystem {}',
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698