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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart

Issue 198453002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart
diff --git a/editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart b/editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart
index 9ccd5aa7da821d92906cf77ee3ecba8e2f8d3a9e..d50b59026cd11b95fb83b7a5d0f575256cc54d2d 100644
--- a/editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart
+++ b/editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart
@@ -116,6 +116,9 @@ class NodeList<E extends AstNode> extends Object with ListMixin<E> {
owner.becomeParentOf(node);
_elements[index] = node;
}
+ void clear() {
+ _elements = <E> [];
+ }
int get length => _elements.length;
void set length(int value) {
throw new UnsupportedError("Cannot resize NodeList.");

Powered by Google App Engine
This is Rietveld 408576698