Skip to content

fix: replace Opts-as-default hb_maps:get/3 with get/4 defaults in codecs#715

Merged
samcamwilliams merged 3 commits intoneo/edgefrom
audit/neo-edge-codecs
Mar 1, 2026
Merged

fix: replace Opts-as-default hb_maps:get/3 with get/4 defaults in codecs#715
samcamwilliams merged 3 commits intoneo/edgefrom
audit/neo-edge-codecs

Conversation

@charmful0x
Copy link
Copy Markdown

a small patch aligning hb_maps:get usage to get/4 defaults instead of Opts-as-default get/3 calls

  • in dev_codec_ans104 and dev_codec_tx: patched tests get/3 misuse
  • in dev_codec_flat: patched runtime code path (serialize/2) to use default via get/4

in dev_codec_flat, Flattened keys come from that same map, so get/4 fallback should never trigger in normal flow - so this patch is mostly semantics consistency

@samcamwilliams samcamwilliams merged commit 27f439a into neo/edge Mar 1, 2026
@samcamwilliams samcamwilliams deleted the audit/neo-edge-codecs branch March 1, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants