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

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

Issue 839323003: Implementation of async-await transformation on js ast. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments 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 | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/language/asyncstar_yield_test.dart » ('j') | 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 507d12361cc8369fb799588626b567fcd8504b72..ab820a4c2693e03420658f82bcbdeaa14fff688a 100644
--- a/tests/compiler/dart2js/mock_libraries.dart
+++ b/tests/compiler/dart2js/mock_libraries.dart
@@ -209,6 +209,8 @@ const Map<String, String> DEFAULT_JS_HELPER_LIBRARY = const <String, String>{
'stringTypeCheck': 'stringTypeCheck(x) {}',
'subtypeCast': 'subtypeCast(object, isField, checks, asField) {}',
'subtypeOfRuntimeTypeCast': 'subtypeOfRuntimeTypeCast(object, type) {}',
+ 'thenHelper':
+ 'thenHelper(object, helperCallback, completer, errorCallback) {}',
'throwAbstractClassInstantiationError':
'throwAbstractClassInstantiationError(className) {}',
'throwCyclicInit': 'throwCyclicInit(staticName) {}',
@@ -366,6 +368,8 @@ const Map<String, String> DEFAULT_ASYNC_LIBRARY = const <String, String>{
'DeferredLibrary': 'class DeferredLibrary {}',
'Future': 'class Future<T> {}',
'Stream': 'class Stream<T> {}',
+ 'Completer': 'class Completer<T> {}',
+ 'StreamIterator': 'class StreamIterator<T> {}',
};
const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/language/asyncstar_yield_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698