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

Date:parseの失敗時にエラー型の値を返すように(再) #739

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

FineArchs
Copy link
Member

手違いで消えてしまった #492 を再度作り直しました。

What

Date:parseに日付として解釈できない文字列が与えられた時、これまではNaNを返していましたが、エラー型の値(not_date)を返すように変更します。

Why

#476

Additional info (optional)

* Date:parse to return error-type when failing

* Update CHANGELOG.md

* Create date-parse-err.md

* re-add test
@FineArchs
Copy link
Member Author

条件を満たしたのでマージします。

@FineArchs FineArchs merged commit 90fd542 into aiscript-dev:master Aug 3, 2024
4 checks passed
@FineArchs FineArchs deleted the date-parse-err2 branch August 3, 2024 14:07
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