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 typespec for Holidefs.Definition.Rule #46

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

jvantuyl
Copy link
Contributor

@jvantuyl jvantuyl commented Sep 1, 2023

observed and function keys specified as being of function type. Code pretty clearly returns an atom or nil. Also added nil to type for function_modifier, as it's optional.

This was causing a whole bunch of Dialyzer failures which were leaking out to my code downstream.

This is a reformulated branch for the fix in PR #42. The original PR unfortunately leaked some unrelated changes in. This new, clean branch should be correct. I'll close the old one.

Observed and function keys specified as being of function type.  Code
pretty clearly returns atoms or nil.  Also added nil to type for
function_modifier, as it's optional.
Copy link
Contributor

@kelvinst kelvinst left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the PR!

@lukyanov lukyanov merged commit 96dc1e9 into toggl:master Apr 2, 2024
1 check passed
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.

None yet

3 participants