mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ModuleInterface] Don't print access on extensions
This ends up meaning "don't print access attributes, then print access uniformly on ValueDecls if you're not printing access attributes".
This commit is contained in:
@@ -60,8 +60,7 @@ extension PublicProto {
|
||||
@usableFromInline internal func ufiMethod() {}
|
||||
} // CHECK: {{^[}]$}}
|
||||
|
||||
// FIXME: We shouldn't print access on extensions in textual interface files.
|
||||
// CHECK: {{^}}public extension PublicProto {{[{]$}}
|
||||
// CHECK: {{^}}extension PublicProto {{[{]$}}
|
||||
public extension PublicProto {
|
||||
// CHECK: public func publicExtPublicMethod(){{$}}
|
||||
func publicExtPublicMethod() {}
|
||||
|
||||
Reference in New Issue
Block a user