title: 'Object' is ambiguous for type lookup in this context in Xcode 9
body: <p>I want to update my app for iOS 11, and have this issue. This is my current code:</p>
  
  <pre><code>protocol DataSourceDelegate: class {
      associatedtype Object
  
      func cellIdentifierForObject(object: Object) -&gt; String
      func swipeToDeleteObject(object: Object)
  }
  </code></pre>
  
  <p>This protocol is used in one of my view controller:</p>
  
  <pre><code>extension TransactionsViewController: DataSourceDelegate {
      func cellIdentifierForObject(object: Object) -&gt; String {
          return "Cell"
      }
  
      func swipeToDeleteObject(object: Object) {
          object.managedObjectContext?.performChanges {
              object.managedObjectContext?.delete(object)
          }
      }
  }
  </code></pre>
  
  <p>Now I get this error for the <code>Object</code> type:</p>
  
  <blockquote>
    <p>'Object' is ambiguous for type lookup in this context</p>
  </blockquote>
  
  <p>On this line:</p>
  
  <pre><code>func cellIdentifierForObject(object: Object) -&gt; String { ... }
  </code></pre>
  
  <p>For my this issue appears because there are some other Object type in my project. I tried to put the protocol or class name in front of the name, but I still get error.</p>