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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/type_mask.dart

Issue 17017003: Introduce an ElementTypeMask to recognize simple constraints like "the type of parameter foo is the… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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: sdk/lib/_internal/compiler/implementation/types/type_mask.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/types/type_mask.dart (revision 24183)
+++ sdk/lib/_internal/compiler/implementation/types/type_mask.dart (working copy)
@@ -47,8 +47,11 @@
bool get isEmpty;
bool get isNullable;
bool get isExact;
+
bool get isUnion;
bool get isContainer;
+ bool get isForwarding;
+ bool get isElement;
bool containsOnlyInt(Compiler compiler);
bool containsOnlyDouble(Compiler compiler);

Powered by Google App Engine
This is Rietveld 408576698