Files
scriptc/tests/harness/__snapshots__/optional-fields.ts.txt
Chris Tate 94fd361b54 Implement sparse native arrays and missing-value parity (#297)
Represent ordinary JavaScript arrays with hole, value, and explicit-undefined states; add sparse side storage and carry missing values through the frontend, native backends, runtime, and Node-facing consumers.
2026-09-12 22:39:07 -05:00

6 lines
458 B
Plaintext

optional-fields.ts:12:38 - error SC1090: JSON.stringify of 'number | undefined' values (Node's stringify of bare undefined is not a string at all — narrow with '!== undefined' first, model absence with a null arm, or use an optional record field ('{ a?: string }'), which drops from the output like Node's) are not supported yet
11 | }
12 | const stringifyBare = JSON.stringify(mkMaybe());
| ^~~~~~~~~
13 |