check: stamp a str for-range binding u8 in the wwstage
cstage types the binding ty_u8; the wwstage single-binder arm peeled the element only for slice/array iterables, so a str scrutinee fell to the N_FORRANGE fallback decl and exprtype stamped the binding str. The stamp-keyed call-arg marshal then pushed the 3-word str ABI for a 1-word scalar, and an uncast compare on the binding was falsely rejected. Route str through the same synthetic-N_LET binder with a u8 element. Graduates r940_str_forrange_arg.
This commit is contained in:
3
Makefile
3
Makefile
@@ -584,8 +584,7 @@ DATABYTEID_EXPECTED_MIN = 911
|
||||
# this list rather than silently widening coverage. Tracked with the #59
|
||||
# divergence family.
|
||||
DATABYTEID_DIVERGED = r76_typeeq_fn_diff_arity r76_typeeq_fn_diff_param_type \
|
||||
r76_typeeq_fn_io_vtable_shape r76_typeeq_fn_variadic_vs_fixed \
|
||||
r940_str_forrange_arg
|
||||
r76_typeeq_fn_io_vtable_shape r76_typeeq_fn_variadic_vs_fixed
|
||||
$(if $(DATABYTEID_FILES),,$(error test-byteid: empty data corpus))
|
||||
test-data-byteid: $(BIN)/ww $(BIN)/w6c $(BIN)/w6c_ww
|
||||
@work=$$(mktemp -d "$(CURDIR)/$(DATABYTEID_DIR).XXXXXX") || exit 1; \
|
||||
|
||||
Reference in New Issue
Block a user