Skip to content

Commit 1a24495

Browse files
authored
[Patterns] An example fixed in exhaustiveness spec (#2955)
1 parent bd5bb32 commit 1a24495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accepted/future-releases/0546-patterns/exhaustiveness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ The lifted space union for a pattern with matched value type `M` is:
555555
properties: {
556556
key(0): 'a',
557557
key(1): 'b',
558-
rest(2, 3): List<String>(key(0): 'c'),
558+
rest(2, 3): List<String>(length: 1, hasRest: false, properties: {key(0): 'c'}),
559559
tail(3): 'd',
560560
tail(2): 'e',
561561
tail(1): 'f',

0 commit comments

Comments
 (0)