We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcbaebe commit e23cd15Copy full SHA for e23cd15
accepted/future-releases/0546-patterns/feature-specification.md
@@ -642,9 +642,9 @@ Field subpatterns can be in one of three forms:
642
variable with the same name.
643
644
As a convenience, the identifier can be omitted and inferred from `pattern`.
645
- The subpattern must be a variable pattern which may be wrapped in a unary
646
- pattern. The field name is then inferred from the name in the variable
647
- pattern. These pairs of patterns are each equivalent:
+ In this case the subpattern must be a variable pattern which may be wrapped
+ in a unary pattern. The field name is then inferred from the name in the
+ variable pattern. These pairs of patterns are each equivalent:
648
649
```dart
650
// Variable:
0 commit comments