Skip to content

feat(shape): a fixed array carries its length - #22

Merged
Kinflou merged 1 commit into
mainfrom
feat/fixed-array-length
Oct 18, 2026
Merged

Kinflou merged 1 commit into
mainfrom
feat/fixed-array-length

Conversation

@Kinflou

@Kinflou Kinflou commented Oct 18, 2026

Copy link
Copy Markdown
Member

TypeRef::Array gains an optional len, which is omitted for T[], so older JSON still parses. With it, type_label prints u8[4] and zero_value seeds the full length. The playground fills it from core's structured types (core#108).

TypeRef::Array gains an optional `len` (absent for `T[]`), so `type_label` prints `u8[4]` and `zero_value` seeds the full length.
@Kinflou
Kinflou merged commit 9506ab1 into main Oct 18, 2026
1 check passed
@Kinflou
Kinflou deleted the feat/fixed-array-length branch October 18, 2026 02:59
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