title: This clause cannot match because a previous clause always matches
body: <p>Not sure why I am getting this compiler warning. What am I doing wrong here?</p>
  
  <pre><code>defmodule T do
      def get_length do
          with {:ok, file} &lt;- File.read("&lt;file&gt;"),
               content &lt;- String.downcase(file) do
                  IO.puts content
               end
      end
  end
  </code></pre>
  
  <p>warning: this clause cannot match because a previous clause at line 4 always matches</p>