title: Bound value in a conditional binding must be of Optional type in Xcode Beta 7, not in beta 6
body: <p>This is my code:</p>
  
  <pre><code>if let myWindow: UIWindow = UIApplication.sharedApplication().keyWindow {
      window = myWindow
  } else {
      window = myWindow2[0] as? UIWindow
  }
  </code></pre>
  
  <p>It is throwing this exception at the first line (where it says <code>if let</code>):</p>
  
  <pre><code>Bound value in a conditional binding must be of Optional type
  </code></pre>
  
  <p>It was working in Beta 6 but I upgraded to beta 7 and now bam. does not work.</p>
  
  <p>What must I do to clear the error?</p>