You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address review: payload names in printed externals, key display, coverage
- Print the attribute payload when it names a different JS entity than the
external's primitive string (@Val("foo"), @send("bar"), ...): two
declarations differing only in payload were correctly rejected but
displayed identically in inclusion errors. Pinned by the new
Cross_external_payload_name fixture.
- Map the stored import-attribute key `type` back to its source form
`type_` when printing @module({from, with}) payloads, so the displayed
record is writable source.
- Register Cross_external_spec_mismatch and Cross_external_payload_name in
the ERROR_VARIANTS.md Value_descriptions fixture list.
- Add ounit coverage for External_ffi_types.inclusion_compatible: the
optional-field codegen flag is ignored in both directions, and names,
optionality, and field counts must match.
Signed-Off-By: Cristiano Calcagno <ccrisccris@gmail.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PCtQiaDijUqA2fujQXvKUw
|`Value_descriptions`| ✓ |`super_errors_multi/Iface_value_descriptions`, `super_errors_multi/Iface_value_arity_mismatch`, `super_errors_multi/Smoke_interface_mismatch`, `module_sig_value_arity_mismatch*.res`| Arity mismatches print a dedicated hint (implementation vs interface argument counts), including through aliases and nested function types. |
360
+
|`Value_descriptions`| ✓ |`super_errors_multi/Iface_value_descriptions`, `super_errors_multi/Iface_value_arity_mismatch`, `super_errors_multi/Smoke_interface_mismatch`, `super_errors_multi/Cross_external_spec_mismatch`, `super_errors_multi/Cross_external_payload_name`, `module_sig_value_arity_mismatch*.res`| Arity mismatches print a dedicated hint (implementation vs interface argument counts), including through aliases and nested function types. |
0 commit comments