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

fix: some type-errors in function calls caused panics #141

Merged
merged 4 commits into from
Nov 15, 2024
Merged

Conversation

tommy
Copy link
Contributor

@tommy tommy commented Nov 14, 2024

safely checks the arg types of $toMillis and $fromMillis.

Also fixes a compatibility issue: a non-string picture string to fromMillis should error instead of being silently ignored.

@tommy tommy requested a review from a team as a code owner November 14, 2024 21:51
@tommy tommy changed the title t/arg safety fix: some type-errors in function calls caused panics Nov 14, 2024
aesterline
aesterline previously approved these changes Nov 14, 2024
@tommy tommy merged commit c41c841 into main Nov 15, 2024
8 checks passed
@tommy tommy deleted the t/arg-safety branch November 15, 2024 21: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.

3 participants