fold-2 chunk C2 (drew's Fam8-13 plan): 14 tuple value-row C drivers migrate to 15 test/lang/*_test.ww @test row-tables (the +1 is 954_tuprecv, slimmed not deleted -- its value rows split out while the asserttyped-stamp dimension stays as a carrier-split C pin, mutation-proven non-vacuous). Reject rows move to 32 test/wcc/data/*/case.ww //ww:error carriers (runww asserts the substring in BOTH stages). The test-lang byte-id (LANGBYTEID) gate gives cs==ww automatically and is strictly more sensitive than re-running the wwstage leg; floor 59->74. Tuple surfaced zero cs!=ww as the plan predicted -- no value-only carve. The 945 trio folds in here; 940_global_sret / 940_str_forrange / 926_tagscr untouched (routed to drew per-file). Test count 402->388 = the 14 retired drivers.
16 lines
309 B
Plaintext
16 lines
309 B
Plaintext
//ww:error "on a global tagged ident unwired"
|
|
package main;
|
|
type err = !void;
|
|
let g: (size | err) = 7: size;
|
|
fn use() (size | err) = {
|
|
let x = g?;
|
|
return x: size;
|
|
};
|
|
export fn main() i32 = {
|
|
match (use()) {
|
|
case let s: size => { if (s != 7) { return 1; }; };
|
|
case err => { return 2; };
|
|
};
|
|
return 0;
|
|
};
|