mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Sema: Relax enum parameter pack restriction for CodingKeys
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple
|
||||
|
||||
// We should accept this:
|
||||
|
||||
public struct HasPack<each T>: Codable {
|
||||
var x: String?
|
||||
}
|
||||
Reference in New Issue
Block a user