Skip to content

Commit 1823e8c

Browse files
authored
Update 0155-normalize-enum-case-representation.md (#1189)
fix minor typo
1 parent 8bf23fa commit 1823e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0155-normalize-enum-case-representation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func switchFoo(x: Foo) {
258258

259259
However, it was decided in review that this was still too restrictive and
260260
source-breaking, and so the core team [accepted the proposal][Rationale] with the modification that pattern matches only had to match the case declaration in arity, and case labels could be either provided or elided in their entirety, unless there was an ambiguity. Even then, as of Swift 5.2, this part of the proposal has not been implemented, and it would be a source breaking change to do so. Therefore, the "Pattern Consistency" section of the original proposal has been removed, and replaced with a ["Disambiguating pattern matches" section](https://github.com/apple/swift-evolution/blob/aecced4919ab297f343dafd7235d392d8b859839/proposals/0155-normalize-enum-case-representation.md), which provided a minimal disambiguation rule for pattern matching cases that share a
261-
base name. This new design still had not been implemented at the time the [core time adopted a new expiration policy for unimplemented proposals](https://forums.swift.org/t/addressing-unimplemented-evolution-proposals/40322), so it has expired.
261+
base name. This new design still had not been implemented at the time the [core team adopted a new expiration policy for unimplemented proposals](https://forums.swift.org/t/addressing-unimplemented-evolution-proposals/40322), so it has expired.
262262

263263
[SE-0155]: 0155-normalize-enum-case-representation.md
264264
[SE-0111]: 0111-remove-arg-label-type-significance.md

0 commit comments

Comments
 (0)