Skip to content

Temporal: Audit of user code calls, part 4 (& last)#3939

Merged
ptomato merged 3 commits intotc39:mainfrom
ptomato:user-code-calls
Nov 6, 2023
Merged

Temporal: Audit of user code calls, part 4 (& last)#3939
ptomato merged 3 commits intotc39:mainfrom
ptomato:user-code-calls

Conversation

@ptomato
Copy link
Copy Markdown
Contributor

@ptomato ptomato commented Oct 4, 2023

Next part following on from #3923. These tests should provide coverage for tc39/proposal-temporal#2519. Two commits, best reviewed separately.

Unlike the other parts of the user code calls audit, this part didn't add any new fast paths; all it does is ensure that a TimeZone or Calendar method is only looked up once during the course of any Temporal method call. Therefore, no new tests are added (except for a few methods which were missing an order-of-operations.js entirely). This PR only adjusts the expectations of existing tests.

Copy link
Copy Markdown
Contributor

@cjtenny cjtenny left a comment

Choose a reason for hiding this comment

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

I promise I reviewed this thoroughly despite having no comments - all my comments in reviewing this came with thoroughly reviewing the normative changes accompanying it, and the tests do a great job covering that. Looks great to me :)

@ptomato
Copy link
Copy Markdown
Contributor Author

ptomato commented Nov 6, 2023

Thanks for the review!

@ptomato ptomato merged commit 2a804d6 into tc39:main Nov 6, 2023
@ptomato ptomato deleted the user-code-calls branch November 6, 2023 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants