title: No '|' candidates produce the expected contextual result type 'NSTextStorageEditActions'
body: <p>I went through the <a href="https://www.raywenderlich.com/77092/text-kit-tutorial-swift" rel="noreferrer">Text Kit Tutorial</a> on <a href="http://raywenderlich.com" rel="noreferrer">raywenderlich.com</a> and the line</p>
  
  <pre><code>edited(.EditedCharacters | .EditedAttributes, range: range, changeInLength: (str as NSString).length - range.length)
  </code></pre>
  
  <p>produces the following error: </p>
  
  <pre><code>No '|' candidates produce the expected contextual result type 'NSTextStorageEditActions'
  </code></pre>
  
  <p>The error goes away when I change the first argument to:</p>
  
  <pre><code>edited(.EditedCharacters, range: range, changeInLength: (str as NSString).length - range.length)
  </code></pre>
  
  <p>I also tried using "OR" and "||" without any success.</p>
  
  <p>Swift 2.2 and iOS 9.2</p>