Skip to content

Preserve null entry order in repeated nodes - #29

Open
fhgffy wants to merge 1 commit into
NaturalIntelligence:mainfrom
fhgffy:fix-null-array-order-20261011
Open

fhgffy wants to merge 1 commit into
NaturalIntelligence:mainfrom
fhgffy:fix-null-array-order-20261011

Conversation

@fhgffy

@fhgffy fhgffy commented Oct 10, 2026

Copy link
Copy Markdown

Building { item: ["first", null, "last"] } currently emits the empty node before first, changing the array's order. Repeated processing instructions have the same problem.

Append null entries to the repeated-node buffer in place. The existing oneListGroup representation is preserved.

Validation: five new regressions fail on the base revision; all seven focused cases and the complete suite pass (143 specs, 0 failures, 1 existing pending). Both bundles build, ESM/CommonJS runtime checks pass, and the new spec passes ESLint.

Direct source lint has the same four existing errors as the base. The current lint script references an absent benchmark directory, and test-types references an absent spec/typings/typings-test.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant