-
Notifications
You must be signed in to change notification settings - Fork 14
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
Incorrect return values for time.Time and time.Duration #4
Comments
@comicsads This fork now supports The forked is used in my little editor Thanks for creating this project, @koron. 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attempting to use iferr on a function which returns a value of either time.Time or time.Duration results in attempting to return a nil value.
This is not correct, and will result in an error at compile time. What should instead be returned is this
The text was updated successfully, but these errors were encountered: