diff --git a/lib/gradient/elixir_checker.ex b/lib/gradient/elixir_checker.ex index 76979c42..2b54b424 100644 --- a/lib/gradient/elixir_checker.ex +++ b/lib/gradient/elixir_checker.ex @@ -106,6 +106,9 @@ defmodule Gradient.ElixirChecker do end def all_vars_generated?(vars) do - Enum.all?(vars, fn {:var, anno, _} -> :erl_anno.generated(anno) end) + Enum.all?(vars, fn + {:var, anno, _} -> :erl_anno.generated(anno) + _ -> false + end) end end