Files
swift-mirror/test/SourceKit/InterfaceGen/Inputs/swift_mod.swift
Rintaro Ishizaki 8bda524cd2 [SourceKit] Update for primary associated types
* 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
2022-05-18 17:16:49 -07:00

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
}