check: stamp SK_TYPE value idents with the per-decl NAMED

A TYPE name used as a VALUE (an error-singleton `return too_long;`)
stamped the flattened BODY type, so structurally identical !void
singletons in one union were indistinguishable and flatvariantidxt
loud-rejected the ambiguity — the real cause of the lib/path wwstage
reject (the pinned #120/#29 global-slice-const blame was stale; that
family had drained). The N_IDENT arm resolves through a synthesized
TNAME (the #66 N_STRUCTLIT precedent); the module-qualified N_DOT twin
reads the sym's cached NAMED. Graduates the path M_WWREJECT pin (#142).
This commit is contained in:
2026-08-08 01:00:03 +09:00
parent 125f626697
commit c18005d833
4 changed files with 69 additions and 11 deletions

View File

@@ -1,13 +1,13 @@
package wwfixture;
def protocolversion: i32 = 1;
def corpuscount: i32 = 1237;
def corpuscount: i32 = 1238;
def errorcount: i32 = 314;
def compilecount: i32 = 12;
def runcount: i32 = 145;
def runexitcount: i32 = 766;
def nativecount: i32 = 2474;
def corpushash: str = "7763f2eb34524f67355114f5bdfbf3f64415152a8ec64060fe32a322bdbe1b24";
def runexitcount: i32 = 767;
def nativecount: i32 = 2476;
def corpushash: str = "a78db801f50ad02de11fed981bd6d9c2d67509e69a69615744f1b2ad3ef4814d";
type directive = enum i32 {
ERROR = 0,