Skip to content

Commit cbe55c3

Browse files
committed
[Patterns] Fix grammar for extractMatcher.
1 parent 599f35c commit cbe55c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

working/0546-patterns/patterns-feature-specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ destructure fields on the value as that type. This pattern is particularly
749749
useful for writing code in an algebraic datatype style.
750750

751751
```
752-
extractMatcher ::= typeName typeArgumentsOrBinders? "(" matchers ")"
752+
extractMatcher ::= typeName typeArgumentsOrBinders? "(" recordFieldMatchers ")"
753753
```
754754

755755
It requires the type to be a named type. If you want to use an extractor with a

0 commit comments

Comments
 (0)