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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/VariableElementImplementation.java

Issue 9695025: Fixes for previous CL review comments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
« no previous file with comments | « compiler/java/com/google/dart/compiler/resolver/TypeVariableElementImplementation.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/resolver/VariableElementImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/VariableElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/VariableElementImplementation.java
index 209853f74ce531f365ad37da70904d532c756123..9d2e346751ec647e43a45fb342592b746b7a6649 100644
--- a/compiler/java/com/google/dart/compiler/resolver/VariableElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/VariableElementImplementation.java
@@ -11,7 +11,7 @@ import com.google.dart.compiler.common.SourceInfo;
import com.google.dart.compiler.type.Type;
class VariableElementImplementation extends AbstractElement implements VariableElement {
- private final Element owner;
+ private final EnclosingElement owner;
private final ElementKind kind;
private final Modifiers modifiers;
private final boolean isNamed;
@@ -23,7 +23,7 @@ class VariableElementImplementation extends AbstractElement implements VariableE
private FieldElement fieldElement;
private Type type;
- VariableElementImplementation(Element owner,
+ VariableElementImplementation(EnclosingElement owner,
DartNode node,
SourceInfo nameLocation,
String name,
@@ -85,7 +85,7 @@ class VariableElementImplementation extends AbstractElement implements VariableE
}
@Override
- public Element getEnclosingElement() {
+ public EnclosingElement getEnclosingElement() {
return owner;
}
}
« no previous file with comments | « compiler/java/com/google/dart/compiler/resolver/TypeVariableElementImplementation.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698