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
3
3
4
4
_ ** Note:** This is in reverse chronological order, so newer entries are added to the top._
5
5
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
+ ```
6
19
Swift 5.6
7
20
---------
8
21
@@ -8761,6 +8774,7 @@ Swift 1.0
8761
8774
[SE- 0316 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0316-global-actors.md>
8762
8775
[SE- 0324 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0324-c-lang-pointer-arg-conversion.md>
8763
8776
[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>
8764
8778
8765
8779
[SR- 75 ]: < https: // bugs.swift.org/browse/SR-75>
8766
8780
[SR- 106 ]: < https: // bugs.swift.org/browse/SR-106>
You can’t perform that action at this time.
0 commit comments