Skip to content

D118 step (c)+(d): Vec is renamed List; Vec names no type - #2306

Merged
ehartford merged 7 commits into
mainfrom
d118-step-c
Oct 9, 2026
Merged

ehartford merged 7 commits into
mainfrom
d118-step-c

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Campaign #2296, ruling D118. Commits: the rename tool; seed.lock to nightly-20261009-local-1-2638c97adaf8 (darwin, linux-x86_64, windows-x86_64 fixpoint-verified on their hosts; aarch64 pins stay, #2305); corpora re-promoted (D112: migrator pin changed; also takes in #2285's migrator output); the rename (identifiers incl. dot-members, strings and comments, prose docs, UAT fixture sdl_main.w and examples under the ruling), the Vec error in type and value position, vec-name in the ceremony census at zero, ABI hash re-recorded (TypeLayout.w: rename only). Draft until its battery is green.

Eric Hartford added 4 commits October 9, 2026 03:38
…t accept List (D118 step a)

darwin-aarch64, linux-x86_64 and windows-x86_64 cut from main 2638c97,
each built on its own host to a stage2 == stage3 fixpoint over all 16
units. The aarch64 platforms keep their .version pins (#2305).
The renamed migrator is a new pin. The regenerated modules also carry the
migrator changes merged since the last promotion (#2285: a pure ternary is
an if expression), which no promotion had taken in.
…2296)

A Lexer-driven rename of identifier tokens (tools/rename_vec_to_list.w:
a word part exactly vec/Vec/VEC, incl. member names after a dot; with_*
runtime symbols are pinned by the seed and keep their names) and a pass
over string literals and comments (capitalized Vec words; Rust's Vec<T>,
Vector, Vec2 kept). The step-(a) alias is gone; 'Vec' is an error naming
List in type and value position. vec-name joins the ceremony census at
zero. StdGeneric's List variant is spelled Sequence while the step-(a)
seed drives the build (its alias misses member names after a dot, #2305).
The ABI hash is re-recorded: TypeLayout.w's diff is the rename only.
Eric Hartford added 3 commits October 9, 2026 05:49
…rior views (#2307)

seed-driver read a freed buffer: `pending_asset = line.slice(..).trim()`
stores a view into the temporary slice as a str, and the D111 seed lowers
that as copy+retain, a no-op for an interior pointer. .to_owned() copies;
it comes out with the step-(d) seed that carries the #2307 fix.
benchmarks/ and tests/ were outside the first file list; identifiers in
f-string holes are inside string tokens, so the identifier pass skipped
them (`{vec.len()}`, `{vec_closed}`, `{local_vec()}`, checked against
every renamed name); the module std.collections.sorted_vec is the file
sorted_list.w.
@ehartford

Copy link
Copy Markdown
Contributor Author

Battery GREEN on 6169568 (gate 1609s, uat 94s, battery-checks 295s). Earlier runs found: rename misses (benchmarks/, tests/, f-string holes, the sorted_vec module file), three redundant explicit Unit returns re-presented by the file rename, and #2307 (a D111 str materialized from an interior view dangles; build/seed.w owns its copy until the step-(d) seed carries the fix).

@ehartford
ehartford marked this pull request as ready for review October 9, 2026 13:43
@ehartford
ehartford merged commit 9a8e2af into main Oct 9, 2026
@ehartford
ehartford deleted the d118-step-c branch October 9, 2026 13:43
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