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

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

Issue 22947008: Refine the type of a local after it has been used as the receiver of a call. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 26339)
+++ sdk/lib/_internal/compiler/implementation/types/type_mask.dart (working copy)
@@ -19,8 +19,7 @@
factory TypeMask.subclass(DartType base) => new FlatTypeMask.subclass(base);
factory TypeMask.subtype(DartType base) => new FlatTypeMask.subtype(base);
- factory TypeMask.nonNullEmpty()
- => new FlatTypeMask.nonNullEmpty();
+ const factory TypeMask.nonNullEmpty() = FlatTypeMask.nonNullEmpty;
factory TypeMask.nonNullExact(DartType base)
=> new FlatTypeMask.nonNullExact(base);
factory TypeMask.nonNullSubclass(DartType base)

Powered by Google App Engine
This is Rietveld 408576698