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

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

Issue 304153014: Remove element from DynamicType. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix infinite loop. Created 6 years, 7 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 2bd09520176e467cf4a1899cb5dc58d7a0934ef0..1a8d651170d4ca577948e4a6093044174d3d83df 100644
--- a/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart
@@ -200,8 +200,7 @@ class FlatTypeMask implements TypeMask {
*/
bool containsAll(Compiler compiler) {
if (isEmpty || isExact) return false;
- return identical(base, compiler.objectClass)
- || identical(base, compiler.dynamicClass);
+ return identical(base, compiler.objectClass);
}
TypeMask union(TypeMask other, Compiler compiler) {

Powered by Google App Engine
This is Rietveld 408576698