Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Policy: add methods asAfter and asUntil #4652

Merged
merged 2 commits into from
Dec 21, 2024
Merged

Conversation

kitbellew
Copy link
Collaborator

@kitbellew kitbellew commented Dec 19, 2024

They assume the policy is enclosed in a Delay or Expire and simplify itself by removing redundant components.

This also potentially leads to checks such as terminal and maxEndPos returning a different value and possibly leading to a different format.

@kitbellew kitbellew changed the title Policy: add method asDelayedAfter Policy: add methods asAfter and asUntil Dec 21, 2024
They assume the policy is enclosed in a Delay or Expire and simplify
itself by removing redundant components.

This also potentially leads to checks such as `terminal` and `maxEndPos`
returning a different value and possibly leading to a different format.
@kitbellew kitbellew merged commit 674c6fb into scalameta:main Dec 21, 2024
21 checks passed
@kitbellew kitbellew deleted the 4652 branch December 21, 2024 20:48
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