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

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

Issue 11191043: Third round of cleanups for new optional parameter semantics. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « lib/compiler/implementation/ssa/nodes.dart ('k') | tests/language/call_operator_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/types/concrete_types_inferrer.dart
===================================================================
--- lib/compiler/implementation/types/concrete_types_inferrer.dart (revision 13779)
+++ lib/compiler/implementation/types/concrete_types_inferrer.dart (working copy)
@@ -92,7 +92,7 @@
abstract ConcreteType union(ConcreteType other);
abstract bool isUnkown();
- abstract Set<BaseType> get baseTypes();
+ abstract Set<BaseType> get baseTypes;
/**
* Returns the unique element of [: this :] if [: this :] is a singleton,
@@ -108,7 +108,7 @@
const UnknownConcreteType();
bool isUnkown() => true;
bool operator ==(ConcreteType other) => identical(this, other);
- Set<BaseType> get baseTypes() =>
+ Set<BaseType> get baseTypes =>
new Set<BaseType>.from([const UnknownBaseType()]);
int hashCode() => 0;
ConcreteType union(ConcreteType other) => this;
« no previous file with comments | « lib/compiler/implementation/ssa/nodes.dart ('k') | tests/language/call_operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698