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

Unified Diff: sdk/lib/_internal/compiler/implementation/universe/universe.dart

Issue 24952003: Change TypeMask.base to be a ClassElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moar declaration. Created 7 years, 3 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/universe/universe.dart
diff --git a/sdk/lib/_internal/compiler/implementation/universe/universe.dart b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
index 1bcf5141a67f3418fefc0f09258f5c12cc649200..e0b1548005ffe72757d3e1c847706d05915a163e 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -638,13 +638,13 @@ class TypedSelector extends Selector {
return result;
}
- factory TypedSelector.exact(DartType base, Selector selector)
+ factory TypedSelector.exact(ClassElement base, Selector selector)
=> new TypedSelector(new TypeMask.exact(base), selector);
- factory TypedSelector.subclass(DartType base, Selector selector)
+ factory TypedSelector.subclass(ClassElement base, Selector selector)
=> new TypedSelector(new TypeMask.subclass(base), selector);
- factory TypedSelector.subtype(DartType base, Selector selector)
+ factory TypedSelector.subtype(ClassElement base, Selector selector)
=> new TypedSelector(new TypeMask.subtype(base), selector);
bool appliesUnnamed(Element element, Compiler compiler) {

Powered by Google App Engine
This is Rietveld 408576698