mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Replace the class_protocol attribute with a "class" requirement.
This only tackles the protocol case (<rdar://problem/17510790>); it does not yet generalize to an arbitrary "class" requirement on either existentials or generics. Swift SVN r19896
This commit is contained in:
@@ -26,7 +26,7 @@ import SwiftShims
|
||||
/// when T isBridgedToObjectiveC, it can be used directly as an
|
||||
/// NSArray. It is safe to convert between NSArray and _CocoaArrayType via
|
||||
/// reinterpretCast.
|
||||
@class_protocol @unsafe_no_objc_tagged_pointer @objc public
|
||||
@unsafe_no_objc_tagged_pointer @objc public
|
||||
protocol _CocoaArrayType {
|
||||
func objectAtIndex(index: Int) -> AnyObject
|
||||
|
||||
|
||||
Reference in New Issue
Block a user