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

Unified Diff: sdk/lib/_internal/compiler/implementation/js/nodes.dart

Issue 12093106: Fix bug from mappedBy -> map conversion. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/js/nodes.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js/nodes.dart b/sdk/lib/_internal/compiler/implementation/js/nodes.dart
index 148547e5076023b6ae6f05611a77d55b6c895b78..da8cd445101840db456220c271eda22617c5f724 100644
--- a/sdk/lib/_internal/compiler/implementation/js/nodes.dart
+++ b/sdk/lib/_internal/compiler/implementation/js/nodes.dart
@@ -778,7 +778,7 @@ class ArrayInitializer extends Expression {
ArrayInitializer(this.length, this.elements);
- factory ArrayInitializer.from(List<Expression> expressions) =>
+ factory ArrayInitializer.from(Iterable<Expression> expressions) =>
new ArrayInitializer(expressions.length, _convert(expressions));
accept(NodeVisitor visitor) => visitor.visitArrayInitializer(this);
@@ -789,7 +789,7 @@ class ArrayInitializer extends Expression {
int get precedenceLevel => PRIMARY;
- static List<ArrayElement> _convert(List<Expression> expressions) {
+ static List<ArrayElement> _convert(Iterable<Expression> expressions) {
int index = 0;
return expressions.map(
(expression) => new ArrayElement(index++, expression))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698