title: Swift 3.0: Type of Expression is ambiguous without more context?
body: <pre><code>private func makeRequest&lt;T where T:MappableNetwork&gt;(method method: Alamofire.Method, url: String,
                           parameters: [String: AnyObject]?, keyPath: String, handler: NetworkHandler&lt;T&gt;.handlerArray) -&gt; Request {
  
      let headers = [
          "Authorization": "",
          ]
  
      return Alamofire
          .request(method, url, parameters: parameters, encoding: .URL, headers: headers)
          .validate()
          .responseArray(keyPath: keyPath) { (response: Alamofire.Response&lt;[T], NSError&gt;) in
              if let error = response.result.error {
                  if let data = response.data {
                      let error = self.getError(data)
                      if error != nil {
                          handler(.Error(error: error!))
                          return
                      }
                  }
                  handler(.Error(error: error))
              } else if let objects = response.result.value {
                  handler(.Success(data: objects))
              }
      }
  }
  </code></pre>
  
  <p>I converted code swift 2.x to 3.x and I getting error Type expression is ambiguous without more context.</p>
  
  <p><a href="https://i.stack.imgur.com/dcCX7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dcCX7.png" alt="enter image description here"></a></p>