mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* InterfaceGen reports a primary associated type as a reference to the 'associatedtype' declaration * CursorInfo on a primary associated type returns information of the 'associatedtype' declaration rdar://93275458
16 lines
341 B
Swift
16 lines
341 B
Swift
public class MyClass {
|
|
public func pub_method() {}
|
|
internal func int_method() {}
|
|
fileprivate func fp_method() {}
|
|
private func priv_method() {}
|
|
}
|
|
|
|
public func pub_function() {}
|
|
internal func int_function() {}
|
|
fileprivate func fp_function() {}
|
|
private func priv_function() {}
|
|
|
|
public protocol MyProto<Assoc> {
|
|
associatedtype Assoc
|
|
}
|