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 18139b29fd32709ad4cf4a49af5f6e378f4e878b..8287322494083870e1506f732b098e9b28487252 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
@@ -713,6 +713,8 @@ class PropertyAccess extends Expression { |
PropertyAccess(this.receiver, this.selector); |
PropertyAccess.field(this.receiver, String fieldName) |
: selector = new LiteralString("'$fieldName'"); |
+ PropertyAccess.indexed(this.receiver, int index) |
+ : selector = new LiteralNumber('$index'); |
accept(NodeVisitor visitor) => visitor.visitAccess(this); |