mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
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:
parent
cae0859989
commit
7f897e16ec
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue