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

Unified Diff: pkg/compiler/lib/src/core_types.dart

Issue 895583006: Update yield warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix example 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
Index: pkg/compiler/lib/src/core_types.dart
diff --git a/pkg/compiler/lib/src/core_types.dart b/pkg/compiler/lib/src/core_types.dart
index 291978d9e67ef9d8b1608530b922a0f85320e0d8..079c69e8d2f88ebf16034a4abcdcf421111f38f0 100644
--- a/pkg/compiler/lib/src/core_types.dart
+++ b/pkg/compiler/lib/src/core_types.dart
@@ -40,4 +40,16 @@ abstract class CoreTypes {
/// [keyType] and [valueType] as its type arguments.
InterfaceType mapType([DartType keyType = const DynamicType(),
DartType valueType = const DynamicType()]);
+
+ /// Returns an instance of the `List` type defined in 'dart:core' with
floitsch 2015/02/04 15:44:57 of the `Iterable` type defined in...
Johnni Winther 2015/02/05 08:48:32 Done.
+ /// [elementType] as its type argument.
+ InterfaceType iterableType([DartType elementType = const DynamicType()]);
+
+ /// Returns an instance of the `List` type defined in 'dart:async' with
floitsch 2015/02/04 15:44:57 Future type.
Johnni Winther 2015/02/05 08:48:32 Done.
+ /// [elementType] as its type argument.
+ InterfaceType futureType([DartType elementType = const DynamicType()]);
+
+ /// Returns an instance of the `Stream` type defined in 'dart:async' with
+ /// [elementType] as its type argument.
+ InterfaceType streamType([DartType elementType = const DynamicType()]);
}

Powered by Google App Engine
This is Rietveld 408576698