File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,19 @@ CHANGELOG
33
44_ ** Note:** This is in reverse chronological order, so newer entries are added to the top._
55
6+ ## Swift Next
7+
8+ * [ SE-0328] [ ] :
9+
10+ Opaque types (expressed with 'some') can now be used in structural positions
11+ within a result type, including having multiple opaque types in the same
12+ result. For example:
13+
14+ ```
15+ func getSomeDictionary() -> [some Hashable: some Codable] {
16+ return [ 1: "One", 2: "Two" ]
17+ }
18+ ```
619Swift 5.6
720---------
821
@@ -8761,6 +8774,7 @@ Swift 1.0
87618774[SE- 0316 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0316-global-actors.md>
87628775[SE- 0324 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0324-c-lang-pointer-arg-conversion.md>
87638776[SE- 0323 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0323-async-main-semantics.md>
8777+ [SE- 0328 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0328-structural-opaque-result-types.md>
87648778
87658779[SR- 75 ]: < https: // bugs.swift.org/browse/SR-75>
87668780[SR- 106 ]: < https: // bugs.swift.org/browse/SR-106>
You can’t perform that action at this time.
0 commit comments