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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java

Issue 8728001: Support for 'abstract' modifier for class and spec recommended warnings, issue 375 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge. Warning for factory constructor of abstract class. Created 9 years 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.tools.core/src/com/google/dart/tools/core/dom/AST.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
index d7ea227494317dd339ccbd467b23b346bc603936..692bc77b5018915ca03ac055cc1b91016512f957 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
@@ -111,7 +111,7 @@ public class AST {
return (N) new DartCatchBlock(null, null, null);
} else if (nodeClass == DartClass.class) {
return (N) new DartClass(null, null, null, new ArrayList<DartTypeNode>(),
- new ArrayList<DartNode>(), new ArrayList<DartTypeParameter>(), null, false);
+ new ArrayList<DartNode>(), new ArrayList<DartTypeParameter>(), null, false, Modifiers.NONE);
} else if (nodeClass == DartComment.class) {
return (N) new DartComment(null, 0, 0, 0, 0, null);
} else if (nodeClass == DartConditional.class) {

Powered by Google App Engine
This is Rietveld 408576698