-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
After upgrading from OTP 27 to 28, I'm getting this dialyzer warning:
lib/my_app_web_web/gettext.ex:1:call_without_opaque
Function call without opaqueness type mismatch.
Call does not have expected term of type
binary()
| {_,
integer()
| %Expo.PluralForms{
:nplurals => pos_integer(),
:plural => Expo.PluralForms.plural_ast()
}}
(with opaque subterms) in the 1st position.
Gettext.Plural.plural({<<106, 97>>, %Expo.PluralForms{:nplurals => 1, :plural => 0}}, _ :: any())
Content of the MyAppWeb.Gettext:
defmodule MyAppWeb.Gettext do
use Gettext.Backend, otp_app: :my_app
endconfig.exs:
config :gettext, :default_locale, "ja"I found related issues in the Elixir repo:
- Dialyzer errors after upgrading to 1.19.0 elixir-lang/elixir#14837
- Opaqueness warning on OTP28 elixir-lang/elixir#14750
This occurs in Gettext 1.0.2, Expo 1.1.1, Elixir 1.19.5, OTP 28.3.
Metadata
Metadata
Assignees
Labels
No labels