test: banner purge + WHY-only comment sweep (rule 8)

Every section banner dies (103 -> 0) across test/lang, the observer
suites, the C carriers, and the five comment-heavy corpus fixtures;
banner provenance (#N cites, carrier numbers, repair-cluster labels)
folded into headers or adjacent WHY comments. Narration deleted; row
provenance, ref cites, divergence pins, and layout contracts kept
(fwd-ref decl-order guards and bootstrap-gate corpus rationale
restored where the sweep over-cut). Comment-only proven: all 3742
wwbuild workdir .s byte-identical before/after; test-commit and
test-byteid (161 lang + 1399 data, 0 pinned-divergent) green.
This commit is contained in:
2026-08-08 21:40:23 +09:00
parent aadc6618f0
commit 83f5956df2
120 changed files with 184 additions and 530 deletions

View File

@@ -1,4 +1,4 @@
// alias_accept_test — #5 alias arc F1: the transitive TY_NAMED chase. cstage
// #5 alias arc F1: the transitive TY_NAMED chase. cstage
// single-peeled the alias at promotion/cond/assign/index/field/arg/union/cast
// consumers, so a 2+-level alias (or one alias over a named aggregate) left the
// type TY_NAMED and fell to a scalar/word0-only/pointer tail — runtime-wrong or
@@ -8,235 +8,186 @@
package alias_accept_test;
// binop_alias_base
type bab_myint = int;
// binop_2level
type b2_myint = int;
type b2_myint2 = b2_myint;
type b2_myu = u32;
// ret_through_2level
type rt_myint = int;
type rt_myint2 = rt_myint;
// assign_alias_alias
type aa_k1 = int;
type aa_k2 = int;
// cond_* family (alias-of-bool)
type cond_myb = bool;
// dot_2level (alias declared before base — forward ref under test)
// alias declared before base — forward ref under test
type dot_a3 = dot_b3;
type dot_b3 = dot_c3;
type dot_c3 = struct { x: size, y: size, z: size };
// deref_alias_ptr
type dp_pi = *int;
type dp_pi2 = dp_pi;
// slicefield_store_2lvl
type sfs_sl = []int;
type sfs_sl2 = sfs_sl;
type sfs_box = struct { s: sfs_sl2, n: int };
// slicefield_range_2lvl
type sfr_sl = []int;
type sfr_sl2 = sfr_sl;
type sfr_box = struct { s: sfr_sl2, n: int };
// strfield_store_2lvl
type sfst_s1t = str;
type sfst_s2t = sfst_s1t;
type sfst_box = struct { s: sfst_s2t, n: int };
// slicefield_structlit_2lvl
type sfsl_sl = []int;
type sfsl_sl2 = sfsl_sl;
type sfsl_box = struct { s: sfsl_sl2, n: int };
// slicefield_viaptr_2lvl
type sfv_sl = []int;
type sfv_sl2 = sfv_sl;
type sfv_box = struct { s: sfv_sl2, n: int };
// slicefield_chainstore_2lvl
type sfc_sl = []int;
type sfc_sl2 = sfc_sl;
type sfc_inner = struct { s: sfc_sl2 };
type sfc_outer = struct { i: sfc_inner };
// slicefield_ptrchain_2lvl
type sfp_sl = []int;
type sfp_sl2 = sfp_sl;
type sfp_inner = struct { s: sfp_sl2, n: int };
type sfp_outer = struct { pi: *sfp_inner };
// slicefield_chainread_2lvl
type sfcr_sl = []int;
type sfcr_sl2 = sfcr_sl;
type sfcr_inner = struct { s: sfcr_sl2 };
type sfcr_outer = struct { i: sfcr_inner };
// slicefield_ptrread_2lvl
type sfpr_sl = []int;
type sfpr_sl2 = sfpr_sl;
type sfpr_box = struct { s: sfpr_sl2, n: int };
// slicefield_wholeread_2lvl
type sfw_sl = []int;
type sfw_sl2 = sfw_sl;
type sfw_box = struct { s: sfw_sl2, n: int };
// slicefield_idx_tripwire_73
type sfi_sl = []int;
type sfi_sl2 = sfi_sl;
type sfi_box = struct { s: sfi_sl2, n: int };
// idx_2level
type idx_arr = [4]int;
type idx_arr2 = idx_arr;
// slice_2level
type sl2_sl = []int;
type sl2_sl2 = sl2_sl;
// range_2level
type rng_arr = [4]int;
type rng_arr2 = rng_arr;
// slice_of_alias_arg
type soa_arr = [4]int;
type soa_arr2 = soa_arr;
// float_alias_param_kenv3 (alias before base — forward ref)
// alias before base — forward ref under test
type fak_fa = fak_fb;
type fak_fb = f64;
// float_alias_param
type fap_f1t = f64;
type fap_f2t = fap_f1t;
// str_alias_2level
type sa2_s1t = str;
type sa2_s2t = sa2_s1t;
// slice_alias_param
type slp_b1 = []int;
type slp_b2 = slp_b1;
// arg_2level_fwdref (alias before base — forward ref)
// alias before base — forward ref under test
type afr_ali = afr_base;
type afr_base = struct { a: size, b: size, c: size };
// arg_2level_litinit
type ali_st = struct { a: size, b: size, c: size };
type ali_row = ali_st;
// arg_2level_5word
type a5_big = struct { a: size, b: size, c: size, d: size, e: size };
type a5_big2 = a5_big;
// arg_2level_floatclass
type afc_fs = struct { x: f64, n: size };
type afc_fs2 = afc_fs;
// arg_base_control
type abc_base = struct { a: size, b: size, c: size };
// union_store_norm
type usn_base = struct { a: size, b: size };
type usn_ali = usn_base;
// union_store_fwd (alias before base — forward ref)
// alias before base — forward ref under test
type usf_ali = usf_base;
type usf_base = struct { a: size, b: size };
// union_store_3word
type us3_base = struct { a: size, b: size, c: size };
type us3_ali = us3_base;
// union_push_arg
type upa_base = struct { a: size, b: size };
type upa_ali = upa_base;
// union_store_base_ctl
type usbc_base = struct { a: size, b: size, c: size };
// union_slit_base_ctl
type uslbc_base = struct { a: size, b: size };
// union_slit_alias
type usla_base = struct { a: size, b: size };
type usla_ali = usla_base;
// union_slit_alias2
type usl2_base = struct { a: size, b: size };
type usl2_ali = usl2_base;
type usl2_ali2 = usl2_ali;
// union_slit_order (alias before base — forward ref)
// alias before base — forward ref under test
type uslo_ali = uslo_base;
type uslo_base = struct { a: size, b: size };
// castprim_3lvl_base
type cp3_s1 = struct { f: u32 };
type cp3_s2 = cp3_s1;
type cp3_s3 = cp3_s2;
// castprim_ptr2lvl_base
type cpp_s1 = struct { f: u32 };
type cpp_s2 = cpp_s1;
// castprim_2lvl_base_ctl
type cp2_s1 = struct { f: u32 };
type cp2_s2 = cp2_s1;
// untyped_tagdst_2lvl_hold
type utd_r1 = (void | size);
type utd_r2 = utd_r1;
// untyped_str2lvl_ctl
type usc_sa1 = str;
type usc_sa2 = usc_sa1;
// untyped_int2lvl_ctl
type uic_ia1 = i64;
type uic_ia2 = uic_ia1;
// untyped_bool1lvl_ctl
type ub1_ba1 = bool;
// untyped_bool2lvl_bound90
type ub2_bb1 = bool;
type ub2_bb2 = ub2_bb1;
// v2_ctrl
type v2c_pc = *i64;
// v2_alias2
type v2a_pa = *i64;
type v2a_pb = v2a_pa;
// sp_alias1
type sp1_inner = (i64 | str);
type sp1_outer = (...sp1_inner | void);
// sp_alias2
type sp2_inner = (i64 | str);
type sp2_inner2 = sp2_inner;
type sp2_outer = (...sp2_inner2 | void);
// rangevar_alias2
type rva_slk = []int;
// nested_alias_field_norm
type nfn_fa = nfn_inner;
type nfn_inner = struct { a: size, b: size };
type nfn_outer = struct { x: nfn_fa, y: nfn_fa };
// nested_alias_field_fwd (outer before fa before inner — forward ref)
// outer before fa before inner — forward ref under test
type nff_outer = struct { x: nff_fa, y: nff_fa };
type nff_fa = nff_inner;
type nff_inner = struct { a: size, b: size };