mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ModuleInterface] Don't print setter access twice (#19239)
And assert from now on that people don't exclude DAK_AccessControl without also excluding DAK_SetterAccess.
This commit is contained in:
@@ -96,3 +96,9 @@ extension UFIProto {
|
||||
// CHECK-NEXT: internal func ufiMethod(){{$}}
|
||||
@usableFromInline internal func ufiMethod() {}
|
||||
} // CHECK: {{^[}]$}}
|
||||
|
||||
// CHECK: extension PublicStruct {{[{]$}}
|
||||
extension PublicStruct {
|
||||
// CHECK: public private(set) static var secretlySettable: Int{{$}}
|
||||
public private(set) static var secretlySettable: Int = 0
|
||||
} // CHECK: {{^[}]$}}
|
||||
|
||||
Reference in New Issue
Block a user