title: How to catch any exception (System.Exception) without a warning in F#?
body: <p>I tried to catch an Exception but the compiler gives warning: This type test or downcast will always hold</p>
  
  <pre><code>let testFail () =
      try
          printfn "Ready for failing..."
          failwith "Fails"
      with
      | :? System.ArgumentException -&gt; ()
      | :? System.Exception -&gt; ()
  </code></pre>
  
  <p>The question is: how to I do it without the warning? (I believe there must be a way to do this, otherwise there should be no warning)</p>
  
  <p>Like C#</p>
  
  <pre class="lang-cs prettyprint-override"><code>try
  {
      Console.WriteLine("Ready for failing...");
      throw new Exception("Fails");
  }
  catch (Exception)
  {
  }
  </code></pre>