Skip to content

Commit 3f42664

Browse files
authored
[Patterns] Fixed typo in the specification (#2715)
1 parent 0cff768 commit 3f42664

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accepted/future-releases/0546-patterns/feature-specification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,10 +752,10 @@ display(Object obj) {
752752

753753
It is a compile-time error if:
754754

755-
* `objectName` does not refer to a type.
755+
* `typeName` does not refer to a type.
756756

757757
* A type argument list is present and does not match the arity of the type of
758-
`objectName`.
758+
`typeName`.
759759

760760
* A `patternField` is of the form `pattern`. Positional fields aren't allowed.
761761

0 commit comments

Comments
 (0)