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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/FunctionDeclaration.java

Issue 22854024: Rename Identifier.getElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: clean-up and fix Created 7 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/FunctionDeclaration.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/FunctionDeclaration.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/FunctionDeclaration.java
index 0be3e2a23372ec536a258ab184dc14f75c9fd2f5..9d7d0642519c55bf613a762b2cffd0e2ac6d6490 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/FunctionDeclaration.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/FunctionDeclaration.java
@@ -92,7 +92,7 @@ public class FunctionDeclaration extends CompilationUnitMember {
@Override
public ExecutableElement getElement() {
- return name != null ? (ExecutableElement) name.getElement() : null;
+ return name != null ? (ExecutableElement) name.getStaticElement() : null;
}
@Override

Powered by Google App Engine
This is Rietveld 408576698