title: Type of expression is ambiguous without more context in Swift3
body: <p>I am getting a 'Type of expression is ambiguous without more context ' on this part of code from a project I am trying to upgrade to latest Swift version. I can't seem to figure it out. I tried different things but can't get it to work.</p>
  
  <p>The problem is on the syntax of this line:</p>
  
  <pre><code>var sec = Int64(0.001 * Double(NSEC_PER_SEC))
  let time = DispatchTime.now() + .seconds(sec) &lt;---- Error here   
  DispatchQueue.main.asyncAfter(deadline: time)
  </code></pre>
  
  <p>The compiler is pointing out the addition(+) of </p>
  
  <blockquote>
    <p>DsipatchTime.now()</p>
  </blockquote>
  
  <p>to the </p>
  
  <blockquote>
    <p>.seconds(sec)</p>
  </blockquote>