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

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

Issue 11411119: Clean up warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 e6216cb5b9190443749cb35bc4eaec4d99c938b0..6fc897cc187ed54100aae571cda43c7161e432ec 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -435,7 +435,8 @@ class TypedSelector extends Selector {
// If [self] is a subclass of [other], it inherits the
// implementation of [element].
- if (self.isSubclassOf(other)) {
+ ClassElement classySelf = self;
ngeoffray 2012/11/21 10:22:11 classySelf -> cls
karlklose 2012/11/21 11:33:32 Done.
ahe 2012/11/22 16:11:30 LOL!
+ if (classySelf.isSubclassOf(other)) {
// Resolve an invocation of [element.name] on [self]. If it
// is found, this selector is a candidate.
return hasElementIn(self, element) && appliesUntyped(element, compiler);

Powered by Google App Engine
This is Rietveld 408576698