Skip to content

Fix Role::Tiny jcpan failures#687

Merged
fglock merged 2 commits intomasterfrom
fix/role-tiny-jcpan
May 8, 2026
Merged

Fix Role::Tiny jcpan failures#687
fglock merged 2 commits intomasterfrom
fix/role-tiny-jcpan

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 8, 2026

Summary

  • Fix forward-declared CODE slot semantics for exists/defined and CODE references
  • Resolve dynamic subroutine lookups in the current package
  • Apply overloads installed after objects have already been blessed
  • Route imported forward declarations through the source package AUTOLOAD
  • Restore deleted keys from localized hash slices
  • Add Role::Tiny-focused regression tests

Testing

  • timeout 1200 make
  • timeout 600 ./jcpan -t Role::Tiny

fglock and others added 2 commits May 8, 2026 18:38
Fix several Perl compatibility gaps exposed by Role::Tiny:

- preserve declared-but-undefined CODE slot semantics for exists/defined
- resolve dynamic subroutine lookups in the current package
- apply overloads installed after objects were blessed
- route imported forward declarations through source package AUTOLOAD
- restore deleted keys from localized hash slices

Add Role::Tiny-focused regression coverage for these cases.

Generated with [OpenAI Codex](https://openai.com/codex)

Co-Authored-By: OpenAI Codex <codex@openai.com>
Restore behavior regressed by the Role::Tiny fixes:

- avoid autovivifying empty CODE slots when probing user-defined Unicode properties
- restore localized list elements in reverse save order
- keep tied hash slices on the tied slice path for local()

Add focused unit tests for Unicode property lookup and localized hash slices.

Generated with [OpenAI Codex](https://openai.com/codex)

Co-Authored-By: OpenAI Codex <codex@openai.com>
@fglock fglock merged commit 1b31566 into master May 8, 2026
2 checks passed
@fglock fglock deleted the fix/role-tiny-jcpan branch May 8, 2026 18:21
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.

1 participant