Skip to content

Commit

Permalink
Keep default in copy of dict
Browse files Browse the repository at this point in the history
  • Loading branch information
gvx committed Dec 21, 2013
1 parent b5c82ed commit 63e9e15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vm/lib.c
Expand Up @@ -950,6 +950,7 @@ Error copy(Stack* S, Stack* scope_arr)
case T_DICT:
new = new_sized_dict(toHashMap(v)->size);
copy_hashmap(toHashMap(v), toHashMap(new));
dictDefault(toHashMap(new)) = add_ref(dictDefault(toHashMap(v)));
break;
case T_BLOB:
new = clone_blob(v);
Expand Down

0 comments on commit 63e9e15

Please sign in to comment.