8000 Elixir 1.20 warns: Elixir.EctoLtree.Postgrex.Ltree/4 is unused · Issue #760 · elixir-ecto/postgrex · GitHub
[go: up one dir, main page]

Skip to content

Elixir 1.20 warns: Elixir.EctoLtree.Postgrex.Ltree/4 is unused #760

@Terbium-135

Description

@Terbium-135

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0