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

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

Issue 10996036: Quick fixes 'Create class' and 'Create constructor' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java b/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
index 60df2e751b9987186c77435d99793b1a64a68a27..c83745924df6931048f854fad84cd2a251782126 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
@@ -193,4 +193,14 @@ public class ClassElementUnion implements ClassElement {
public List<ConstructorNodeElement> getConstructors() {
throw new UnsupportedOperationException();
}
+
+ @Override
+ public int getOpenBraceOffset() {
+ return -1;
+ }
+
+ @Override
+ public int getCloseBraceOffset() {
+ return -1;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698