Fix bug in array serialization

Review URL: https://chromiumcodereview.appspot.com//10696143

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9499 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
hausner@google.com 2012-07-10 09:38:36 +00:00
parent cae0859989
commit 7f897e16ec

View file

@ -123,8 +123,8 @@ function ReceivePortSync() {
}
function deserializeList(x) {
var length = x[1];
var values = x[2];
var length = values.length;
var result = new Array(length);
for (var i = 0; i < length; i++) {
result[i] = deserializeHelper(values[i]);