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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.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/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 9b8bc89f85c452d41b8ec0c02bb27caa9623cd18..e322c4ee1e1e5d5e7b3025e522c0975c218f8c78 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -1178,7 +1178,7 @@ class FunctionElement extends Element {
FunctionElement get redirectionTarget {
if (this == defaultImplementation) return this;
- Element target = defaultImplementation;
+ var target = defaultImplementation;
ngeoffray 2012/11/21 10:22:11 I can't find which assignment will trigger the war
karlklose 2012/11/21 11:33:32 target.defaultImplementation in the loop condition
Set<Element> seen = new Set<Element>();
seen.add(target);
while (!target.isErroneous() && target != target.defaultImplementation) {

Powered by Google App Engine
This is Rietveld 408576698