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

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

Issue 12764005: Get rid of old code for union/intersection in HType. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comments. Created 7 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
Index: sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
index 54a5a689d74e93f9628310f826ba4798ee620611..92099de3ca075b4391699b1ddd6f72b1d9c7087e 100644
--- a/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
@@ -1183,7 +1183,7 @@ class ConcreteTypesInferrer extends TypesInferrer {
compiler.listClass.lookupConstructor(
new Selector.callConstructor(const SourceString(''),
compiler.listClass.getLibrary()));
- nullTypeMask = new TypeMask.exact(compiler.nullClass.computeType(compiler));
+ nullTypeMask = new TypeMask.empty();
}
/**

Powered by Google App Engine
This is Rietveld 408576698