Skip to content

Conversation

@Manishearth
Copy link
Contributor

Without this ToTemporalYearMonth isn't possible to implement since you cannot extract the reference day.

Decided to add clone everywhere since it's a useful enough operation and ToTemporalFoo always needs it (even though it can usually be implemented differently)

@Manishearth Manishearth requested a review from nekevss July 26, 2025 01:27
@Manishearth Manishearth added this to the 0.0.12 milestone Jul 26, 2025
Copy link
Member

@nekevss nekevss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

question: would this be cheaper if the types are Copy?

@Manishearth
Copy link
Contributor Author

@nekevss Doesn't matter, they're allocated over FFI.

@Manishearth Manishearth merged commit 6f569fd into boa-dev:main Jul 26, 2025
8 checks passed
@Manishearth Manishearth deleted the reference_day branch July 26, 2025 04:23
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