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

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

Issue 8479037: Provide enclosing element (method) for local function object, issue 145 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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: compiler/java/com/google/dart/compiler/resolver/MethodElement.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/MethodElement.java b/compiler/java/com/google/dart/compiler/resolver/MethodElement.java
index 544280f85f25baf2ae2854af775b44c670ddadf1..0ba5f1f77a4e41b7e5f8faa199e9d3bc591e0ffd 100644
--- a/compiler/java/com/google/dart/compiler/resolver/MethodElement.java
+++ b/compiler/java/com/google/dart/compiler/resolver/MethodElement.java
@@ -9,7 +9,7 @@ import com.google.dart.compiler.type.Type;
import java.util.List;
-public interface MethodElement extends Element {
+public interface MethodElement extends Element, EnclosingElement {
boolean isConstructor();
boolean isStatic();

Powered by Google App Engine
This is Rietveld 408576698