mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ModuleInterface] Don't print extensions of internal types (#19440)
This commit is contained in:
@@ -102,3 +102,12 @@ extension PublicStruct {
|
||||
// CHECK: public private(set) static var secretlySettable: Int{{$}}
|
||||
public private(set) static var secretlySettable: Int = 0
|
||||
} // CHECK: {{^[}]$}}
|
||||
|
||||
extension InternalStruct_BAD: PublicProto {
|
||||
internal static var dummy: Int { return 0 }
|
||||
}
|
||||
|
||||
// CHECK: extension UFIStruct : PublicProto {{[{]$}}
|
||||
extension UFIStruct: PublicProto {
|
||||
internal static var dummy: Int { return 0 }
|
||||
} // CHECK-NEXT: {{^[}]$}}
|
||||
|
||||
Reference in New Issue
Block a user