We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5076af2 + e06093f commit b9de107Copy full SHA for b9de107
test/decl/protocol/special/coding/Inputs/enum_codable_simple_multi2.swift
@@ -5,7 +5,7 @@ func foo() {
5
let _ = SimpleEnum.encode(to:)
6
7
// The synthesized CodingKeys type should not be accessible from outside the
8
- // struct.
+ // enum.
9
let _ = SimpleEnum.CodingKeys.self // expected-error {{'CodingKeys' is inaccessible due to 'private' protection level}}
10
let _ = SimpleEnum.ACodingKeys.self // expected-error {{'ACodingKeys' is inaccessible due to 'private' protection level}}
11
let _ = SimpleEnum.BCodingKeys.self // expected-error {{'BCodingKeys' is inaccessible due to 'private' protection level}}
0 commit comments