Files
swift-mirror/test/IDE/Inputs/foo_swift_module.printed.comments.txt
Ben Barham ddddc667c8 Merge exported modules with the same public name in generated interface
If a module has the same `public-module-name` as the module being
generated and its import is exported, merge it into the same generated
interface.

Fix various always-imported modules from being printed while here and
update all the tests that checked for them.

Resolves rdar://137887712.
2025-05-02 10:59:15 -07:00

49 lines
944 B
Plaintext

func %%% (lhs: Int, rhs: Int) -> Int
postfix func =-> (lhs: Int) -> Int
postfix func => (lhs: Int) -> Int
struct BarGenericSwiftStruct1<T> {
init(t: T)
func bar1InstanceFunc()
}
struct BarGenericSwiftStruct2<T, U> where T : BarProtocol {
init(t: T, u: U)
func bar2InstanceFunc()
}
protocol BarProtocol {
func instanceFunc()
}
/// FooSwiftStruct Aaa.
/**
* Bbb.
* Ccc.
*/
struct FooSwiftStruct {
/// fooInstanceFunc Aaa.
/**
* Bbb
*/
/**
* Ccc.
*/
func fooInstanceFunc()
init()
}
/// rdar://18457785
enum MyQuickLookObject {
/// A rectangle.
///
/// Uses explicit coordinates to avoid coupling a particular Cocoa type.
case Rectangle(Float64, Float64, Float64, Float64)
}
var globalVar: Int
func hiddenImport()
func overlaidFoo()
func visibleImport()
precedencegroup High {
associativity: left
higherThan: BitwiseShiftPrecedence
}
infix operator %%% : High
postfix operator =>
postfix operator =->