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

Unified Diff: pkg/compiler/lib/src/common/backend_api.dart

Issue 1418043005: dart2js: Set inferred return types for async, async*, and sync* methods. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/backend_api.dart
diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
index bdfcf79d0edd66ad46c7ed48ec8c17d0e0e2344f..cb52c7f3894ce28cb3302d8f4537d8d07bb72adc 100644
--- a/pkg/compiler/lib/src/common/backend_api.dart
+++ b/pkg/compiler/lib/src/common/backend_api.dart
@@ -250,6 +250,12 @@ abstract class Backend {
ClassElement get uint32Implementation => compiler.coreClasses.intClass;
ClassElement get uint31Implementation => compiler.coreClasses.intClass;
ClassElement get positiveIntImplementation => compiler.coreClasses.intClass;
+ ClassElement get syncStarIterableImplementation =>
+ compiler.coreClasses.iterableClass;
+ ClassElement get asyncFutureImplementation =>
+ compiler.coreClasses.futureClass;
+ ClassElement get asyncStarStreamImplementation =>
+ compiler.coreClasses.streamClass;
ClassElement defaultSuperclass(ClassElement element) {
return compiler.coreClasses.objectClass;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698