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

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

Issue 165143004: Move TypeMask.simplify to a test helper. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 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: sdk/lib/_internal/compiler/implementation/types/union_type_mask.dart
diff --git a/sdk/lib/_internal/compiler/implementation/types/union_type_mask.dart b/sdk/lib/_internal/compiler/implementation/types/union_type_mask.dart
index b17938dbdaaf295fb31fbd15a7a8abc2764d6bdd..cf1951a48e0a40662f77ba6f1dea8cec2bc0746d 100644
--- a/sdk/lib/_internal/compiler/implementation/types/union_type_mask.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/union_type_mask.dart
@@ -188,8 +188,6 @@ class UnionTypeMask implements TypeMask {
return new UnionTypeMask._(newIterable);
}
- TypeMask simplify(Compiler compiler) => flatten(disjointMasks, compiler);
-
bool get isEmpty => false;
bool get isNullable => disjointMasks.any((e) => e.isNullable);
bool get isExact => false;

Powered by Google App Engine
This is Rietveld 408576698