Repository navigation
fix: export fieldhash from Hash::Util - #1910
Merged
Merged
Conversation
Expose the core fieldhash import through Hash::Util and preserve ordinary scalar-key behavior in the bundled fieldhash implementation. Add focused coverage for scalar and reference keys on both execution backends. Fixes #1909 Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Convert a tied hash EXISTS callback result to Perl's canonical boolean scalar in the shared runtime path. Cover undef, zero, and truthy results on both execution backends. Fixes #1909 Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fieldhashthrough the bundledHash::Utilmodule.Hash::Util::FieldHashtie to preserve ordinary scalar-key behavior as well as identity-based reference keys, including thread cloning.existscallback results to Perl's canonical1and''values on both execution backends.Fixes #1909
Validation
nice -n 19 makepasses locally.make check-linkspasses.Hash-ExtendedKeys1.01 suite (7 files, 24 tests).t/00-load.tandt/03-coverage.tpass.t/01-idea.tandt/02-tie.tstop at the transitive XS dependencyCombine::KeyswithUndefined subroutine &Combine::Keys::ckeys.