Commit 747556d1 authored by Mikko Ahlroth's avatar Mikko Ahlroth

Add comment about bogus compiler warnings

parent 299e5fcb
......@@ -62,6 +62,9 @@ defmodule CodeStatsWeb.PreferencesController do
|> redirect(to: Routes.preferences_path(conn, :edit))
err ->
# In the case below, the compiler and dialyzer will warn about the clauses. That is an
# Elixir bug related to the with construct, so the warnings are bogus.
# See:
error_changeset =
case err do
{:old_pass, false} ->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment