elixir-sqlite/ecto_sqlite3

Clause match warning

Closed this issue · 2 comments

pikeas commented

After updating to Elixir 1.18:

==> ecto_sqlite3
Compiling 4 files (.ex)
      warning: the following clause will never match:

          :text_datetime

      because it attempts to match on the result of:

          :iso8601

      which has type:

          :iso8601

      typing violation found at:
      │
 1392 │         :text_datetime ->
      │         ~~~~~~~~~~~~~~~~~
      │
      └─ lib/ecto/adapters/sqlite3/connection.ex:1392: Ecto.Adapters.SQLite3.Connection.expr/3

Generated ecto_sqlite3 app

Probably not the only issues to start cropping up because of the new version.

Fix shipped with v0.17.6