Skip to content

Commit 0e6bb98

Browse files
authored
Update SE-0157 status
1 parent 0caa44e commit 0e6bb98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/GenericsManifesto.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ There are a number of restrictions to the use of generics that fall out of the i
2727

2828
### Recursive protocol constraints (*)
2929

30-
*The feature is being reviewed in [SE-0157](https://github.com/apple/swift-evolution/blob/master/proposals/0157-recursive-protocol-constraints.md).*
30+
*This feature has been accepted in [SE-0157](https://github.com/apple/swift-evolution/blob/master/proposals/0157-recursive-protocol-constraints.md) and is tracked by [SR-1445](https://bugs.swift.org/browse/SR-1445).*
3131

3232
Currently, an associated type cannot be required to conform to its enclosing protocol (or any protocol that inherits that protocol). For example, in the standard library `SubSequence` type of a `Sequence` should itself be a `Sequence`:
3333

@@ -90,7 +90,7 @@ var d2: Dictionary<String, Int> = d1 // okay: d1 and d2 have the same type, Dict
9090

9191
### Generic subscripts
9292

93-
*This feature has been accepted in [SE-0148](https://github.com/apple/swift-evolution/blob/master/proposals/0148-generic-subscripts.md), is tracked by [SR-115](https://bugs.swift.org/browse/SR-115) and was released with Swift 4.*
93+
*This feature has been accepted in [SE-0148](https://github.com/apple/swift-evolution/blob/master/proposals/0148-generic-subscripts.md), was tracked by [SR-115](https://bugs.swift.org/browse/SR-115) and was released with Swift 4.*
9494

9595
Subscripts could be allowed to have generic parameters. For example, we could introduce a generic subscript on a `Collection` that allows us to pull out the values at an arbitrary set of indices:
9696

@@ -202,7 +202,7 @@ Hanging the `where` clause off the associated type protocol is not ideal, but th
202202

203203
### Typealiases in protocols and protocol extensions (*)
204204

205-
*The feature has been accepted in [SE-0092](https://github.com/apple/swift-evolution/blob/master/proposals/0092-typealiases-in-protocols.md) and was released with Swift 3.*
205+
*This feature has been accepted in [SE-0092](https://github.com/apple/swift-evolution/blob/master/proposals/0092-typealiases-in-protocols.md) and was released with Swift 3.*
206206

207207
Now that associated types have their own keyword (thanks!), it's reasonable to bring back `typealias`. Again with the `Sequence` protocol:
208208

@@ -691,7 +691,7 @@ The generics system doesn't seem like a good candidate for a reduction in scope;
691691

692692
### Associated type inference
693693

694-
*The feature has been rejected in [SE-0108](https://github.com/apple/swift-evolution/blob/master/proposals/0108-remove-assoctype-inference.md).*
694+
*This feature has been rejected in [SE-0108](https://github.com/apple/swift-evolution/blob/master/proposals/0108-remove-assoctype-inference.md).*
695695

696696
Associated type inference is the process by which we infer the type bindings for associated types from other requirements. For example:
697697

0 commit comments

Comments
 (0)