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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/flat_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/flat_type_mask.dart
diff --git a/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart b/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart
index 39b99c2f84089b1ffdf991cc99f6da1c341b1528..56a329201c8bf96b3f044ace347ed359f2d57552 100644
--- a/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart
@@ -65,8 +65,6 @@ class FlatTypeMask implements TypeMask {
return isNullable ? new FlatTypeMask.internal(base, flags & ~1) : this;
}
- TypeMask simplify(Compiler compiler) => this;
-
bool contains(ClassElement type, Compiler compiler) {
assert(type.isDeclaration);
if (isEmpty) {

Powered by Google App Engine
This is Rietveld 408576698