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

Silence dialyzer warnings about do_plural_rule #220

Merged
merged 1 commit into from
Nov 2, 2023

Commits on Oct 26, 2023

  1. Silence dialyzer warnings about do_plural_rule

    Libraries that depend on Cldr might use the `:extra_returns` feature in dialyzer, which will warn if the typespec of a function specifies return types that are not part of the success typing.
    
    My understanding is that the behavior (and therefore success typing) of `do_plural_rule depends/8` on the locale used, so we cannot accurately tell what the correct return type is. Therefore, this commit posits to silence dialyzer warnings about `do_plural_rule/8`.
    Munksgaard committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    9eaf371 View commit details
    Browse the repository at this point in the history