title: Swift Expression implicitly coerced from 'Any??' to 'Any?'
body: <p>I have this code in Swift:</p>
  
  <pre><code> var dictionary: [String: Any?]? 
  
   fileprivate func value(forKey key: Key) -&gt; Any? {
      if let dictionary = self.dictionary {
          return dictionary[key.rawValue]
      }
  
       ...
   }
  </code></pre>
  
  <p>I get a warning "Expression implicitly coerced from 'Any??' to 'Any?' in the return statement ". What am I doing wrong?</p>