Skip to content

Commit

Permalink
[js] Serialize the repr data for a VMArray.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Nov 7, 2015
1 parent c4c2b73 commit 3f074d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/js/nqp-runtime/reprs.js
Expand Up @@ -622,6 +622,10 @@ VMArray.prototype.deserialize_repr_data = function(cursor) {
/* TODO - type */
};

VMArray.prototype.serialize_repr_data = function(st, cursor) {
cursor.ref(this.type);
}

VMArray.prototype.deserialize_array = function(object, data) {
if (this.type !== null) {
console.log('NYI: VMArrays of a type different then null');
Expand Down

0 comments on commit 3f074d4

Please sign in to comment.