Swift protocol shortcuts don't work with class conformance

Originator:joshavant
Number:rdar://23582559 Date Originated:17-Nov-2015 02:23 PM
Status:Duplicate of 23582191 Resolved:
Product: Product Version:Swift 2.1
Classification:UI/Usability Reproducible:Always
 
Summary:
You have to say

<T: UIViewController where T: MyProtocol>

and not

<T: protocol<UIViewController, MyProtocol>>

Latter is cleaner, preferable, illegal

(This is a dupe of rdar://23582191)

Steps to Reproduce:


Expected Results:


Actual Results:


Version:
Swift 2.1

Notes:


Configuration:


Attachments:

Comments

Apple Developer Relations23-Nov-2015 04:49 PM

Engineering has determined that your bug report is a duplicate of another issue and will be closed.

The open or closed status of the original bug report your issue was duplicated to appears in the yellow "Duplicate of XXXXXXXX" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.

If you have any questions or concerns, please update your report directly here: http://bugreport.apple.com/.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!