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

Unified Diff: pkg/analyzer/lib/src/generated/ast.dart

Issue 170723002: Issue 16827. Add 'set length' to NodeList. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
« no previous file with comments | « editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/ast.dart
diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
index c7f631c7e05043d95541843da17a13f7f3393c79..738761b7911c163c79bb76b384f7bf0a96bd07d7 100644
--- a/pkg/analyzer/lib/src/generated/ast.dart
+++ b/pkg/analyzer/lib/src/generated/ast.dart
@@ -16468,4 +16468,7 @@ class NodeList<E extends ASTNode> extends Object with ListMixin<E> {
_elements[index] = node;
}
int get length => _elements.length;
+ void set length(int value) {
+ throw new UnsupportedError("Cannot resize NodeList.");
+ }
}
« no previous file with comments | « editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698