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

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

Issue 1035443002: Implement new flatten specification. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comment. 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 | pkg/compiler/lib/src/dart_types.dart » ('j') | pkg/compiler/lib/src/dart_types.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ba71b3f43de43bb26b60a1f571696174bf9b3b84..a1ec975e53341d3fbb5c8946bbbc8464fc2ba204 100644
--- a/pkg/compiler/lib/src/core_types.dart
+++ b/pkg/compiler/lib/src/core_types.dart
@@ -5,6 +5,7 @@
library dart2js.type_system;
import 'dart_types.dart';
+import 'elements/elements.dart' show ClassElement;
/// The core types in Dart.
abstract class CoreTypes {
@@ -45,6 +46,9 @@ abstract class CoreTypes {
/// [elementType] as its type argument.
InterfaceType iterableType([DartType elementType = const DynamicType()]);
+ /// The `Future` class declaration.
+ ClassElement get futureClass;
+
/// Returns an instance of the `Future` type defined in 'dart:async' with
/// [elementType] as its type argument.
InterfaceType futureType([DartType elementType = const DynamicType()]);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/dart_types.dart » ('j') | pkg/compiler/lib/src/dart_types.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698