title: Swift 4: Cannot convert value of type '(_) -> ()' to expected argument type '() -> ()' or Argument passed to call that takes no arguments
body: <p>Using XCode 9, Beta 3. Swift 4.</p>
  
  <pre><code>statsView.createButton("Button name") { [weak self] Void in
     //stuff stuff
     self?.doSomething()
  }
  </code></pre>
  
  <p>I get hundreds of errors like this, how do I fix them?</p>
  
  <p>Errors:</p>
  
  <pre><code>Cannot convert value of type '(_) -&gt; ()' to expected argument type '() -&gt; ()'
  
  Argument passed to call that takes no arguments
  </code></pre>