Skip to content

Commit b9de107

Browse files
authored
Merge pull request swiftlang#40736 from ntnhon/patch-1
2 parents 5076af2 + e06093f commit b9de107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/decl/protocol/special/coding/Inputs/enum_codable_simple_multi2.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ func foo() {
55
let _ = SimpleEnum.encode(to:)
66

77
// The synthesized CodingKeys type should not be accessible from outside the
8-
// struct.
8+
// enum.
99
let _ = SimpleEnum.CodingKeys.self // expected-error {{'CodingKeys' is inaccessible due to 'private' protection level}}
1010
let _ = SimpleEnum.ACodingKeys.self // expected-error {{'ACodingKeys' is inaccessible due to 'private' protection level}}
1111
let _ = SimpleEnum.BCodingKeys.self // expected-error {{'BCodingKeys' is inaccessible due to 'private' protection level}}

0 commit comments

Comments
 (0)