title: Swift: unresolved identifier from a switch statement
body: <p>I'm trying the following in the playground in Xcode6-Beta4, following the apple's <a href="https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedTour.html" rel="nofollow">swift tour</a>:</p>
  
  <pre><code>let vegetable = "red pepper"
  switch vegetable{
  case "celery":
      let vegetableComment = "Add some raisins and make ants on a log."
  case "cucumber", "watercress":
      let vegetableComment = "That would make a good tea sandwich."
  case let x where x.hasSuffix("pepper"):
      let vegetableComment = "Is it a spicy \(x)"
  default:
      let vegetableComment = "Everything tastes good in soup."
  }
  </code></pre>
  
  <p>then I try to call the variable <code>vegetableComment</code> defined inside the switch statement, I got an error of <code>Use of unresolved identifier 'vegetableComment'</code></p>
  
  <p>Is it something relating the the scope / closure of switch statement in swift?</p>