-
Notifications
You must be signed in to change notification settings - Fork 301
Elixir 1.20 warns: Elixir.EctoLtree.Postgrex.Ltree/4 is unused #760
Copy link
Copy link
Open
Labels
Description
Elixir version
Erlang/OTP 28 [erts-16.1.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns] Elixir 1.20.0-rc.1 (3bb5f92) (compiled with Erlang/OTP 28)
Database and Version
Postgresql 17
Postgrex Version
postgrex 0.22.0 0.22.0 Up-to-date
Current behavior
Compiling an application depending on postgrex emits 2 warnings:
warning: function Elixir.EctoLtree.Postgrex.Ltree/4 is unused
│
1084 │ Module.create(module, quoted, Macro.Env.location(__ENV__))
│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│
└─ deps/postgrex/lib/postgrex/type_module.ex:1084: Backend.PostgresTypes (module)
warning: function Elixir.EctoLtree.Postgrex.Lquery/4 is unused
│
1084 │ Module.create(module, quoted, Macro.Env.location(__ENV__))
│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│
└─ deps/postgrex/lib/postgrex/type_module.ex:1084: Backend.PostgresTypes (module)
Expected behavior
Compile without any warning
Reactions are currently unavailable