Skip to content

Commit

Permalink
XS: fix JSON.stringify correctness issue #112
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Soquet authored and mkellner committed Feb 21, 2019
1 parent 15cf665 commit 3de046d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xs/sources/xsJSON.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ void fxStringifyJSONProperty(txMachine* the, txJSONStringifier* theStringifier,
anInstance = C_NULL;
if (theStringifier->replacer) {
mxPushSlot(aKey);
fxToString(the, the->stack);
mxPushSlot(aValue);
/* COUNT */
mxPushInteger(2);
Expand Down

0 comments on commit 3de046d

Please sign in to comment.