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) { |