fold-2 chunk C5 (drew's Fam8-13 plan), the highest-risk chunk: 21 match/tagged value-row C drivers re-homed. 20 -> test/lang/*_test.ww @test row-tables + 12 runww //ww:error carriers (both stages reject). The global-tag cluster (globtag*/globstructwiden/taggedderefstore/...), which sits on the #15/#17 global-ptr fix, was empirically probed byte-id CLEAN -- the predicted hotspot surfaced ZERO fresh cs!=ww. Carves: variant_chain_b95 #81 -> _runonly (genuinely diverges at HEAD); callret_bound277 #277 -> slim C pin (cs-runs/ww-rejects), mutation-gated. 929_tagged_memarg kept whole (SSE-ABI asm conformance). 19 drivers deleted, 944_variant_chain slimmed to the #277 pin. The match-on-tagged-struct-field divergence (former #26) probed RESOLVED for all its cited shapes (938 voidstr_field/recursion_torture, tagnorm dedup_match all byte-id cs==ww + value-correct) -- closed no-reproducer-at-HEAD, attribution to #15/#17 INFERRED. Those rows migrate as normal byte-id @test and serve as the REGRESSION SENTINEL for the inferred close (a resurgence trips the gate). LANGBYTEID floor 93->113; test count 374->355 (19 deleted; 929 + 944_variant_chain kept). do-not-auto-batch (926_tagscr/940_global_sret/940_str_forrange) untouched.
13 lines
450 B
Plaintext
13 lines
450 B
Plaintext
//ww:error "not a variant"
|
|
// 944_variant_chain_b95 isas_chain_reject: `is base` on (void | ali) where
|
|
// ali=base — is/as ACCEPTANCE stays nominal-exact (#107). BOTH stages reject
|
|
// (cstage "base is not a variant of (...)", wwstage "is/as: not a variant of...").
|
|
package main;
|
|
type base = struct { a: int, b: int };
|
|
type ali = base;
|
|
fn f(v: (void | ali)) i32 = {
|
|
if (v is base) { return 1; };
|
|
return 0;
|
|
};
|
|
export fn main() i32 = { return 0; };
|