You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c28ca92
Browse filesBrowse the repository at this point in the historyBrowse files
Put the keys of a list in ascending order and require the ones below a required key
makeList() turned a maybe-list shape into a list by flipping its isList
flag, keeping the keys in the order they were written and their
optionality as it was. A list has its keys in ascending order and one
with the key k has every key below k, and positional operations such as
array_values() trust both - so array{1?: int, 0?: string} narrowed by
array_is_list() became list{1?: int, 0?: string} and its array_values()
list{0?: int, 1?: string}, the value types swapped.
The keys are now put in ascending order (the integer ones first where
unsealed extras keep every key) and the ones below the highest required
key are made required, in sealed shapes and in shapes without the
unsealed marker alike.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a196f7-a83c-7170-a45b-f1d9db4220df
0 commit comments