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

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

Issue 10911007: Rename Type to DartType to avoid conflicts with the class Type in the core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: lib/compiler/implementation/universe.dart
diff --git a/lib/compiler/implementation/universe.dart b/lib/compiler/implementation/universe.dart
index 976f06beef56e16aef544a4f315df1d6d69e3af7..a03a61c7295d92f44e19ced9a4a85f67449360d7 100644
--- a/lib/compiler/implementation/universe.dart
+++ b/lib/compiler/implementation/universe.dart
@@ -13,7 +13,7 @@ class Universe {
final Map<SourceString, Set<Selector>> invokedSetters;
final Map<SourceString, Set<Selector>> fieldGetters;
final Map<SourceString, Set<Selector>> fieldSetters;
- // TODO(ngeoffray): This should be a Set<Type>.
+ // TODO(ngeoffray): This should be a Set<DartType>.
final Set<Element> isChecks;
final RuntimeTypeInformation rti;
@@ -168,7 +168,7 @@ class Selector implements Hashable {
int hashCode() => argumentCount + 1000 * namedArguments.length;
int get namedArgumentCount => namedArguments.length;
int get positionalArgumentCount => argumentCount - namedArgumentCount;
- Type get receiverType => null;
+ DartType get receiverType => null;
bool applies(Element element, Compiler compiler)
=> appliesUntyped(element, compiler);
@@ -330,7 +330,7 @@ class TypedSelector extends Selector {
* The type of the receiver. Any subtype of that type can be the
* target of the invocation.
*/
- final Type receiverType;
+ final DartType receiverType;
TypedSelector(this.receiverType, Selector selector)
: super(selector.kind,

Powered by Google App Engine
This is Rietveld 408576698