FA-4388 / Mapping semantics / Member archive
Map setdefault keeps existing none · case 03
The operation returns a result or retained state that violates this contract: Insert the default only for an absent key; return [selected value,map].
Case scope
A controlled failure with recorded boundary checks.
Why this case matters
A controlled local-runtime regression for collection APIs, language semantics, or ownership wrappers. Fixtures include boundary and interaction cases.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| existing None | ["d", {"a": "d"}] | [null, {"a": null}] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗