Skip to content

Commit 29e8bee

Browse files
authored
Fix a typo in Private named parameters proposal (#4548)
1 parent c8ff69d commit 29e8bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accepted/future-releases/2509-private-named-parameters/feature-specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ If there is no error then:
422422
```dart
423423
// Note: Also uses an in-body primary constructor.
424424
class Id {
425-
late final int _region = 0;
425+
late final int _region;
426426
427427
this({this._region, final int _value}) : assert(_region > 0 && _value > 0);
428428

0 commit comments

Comments
 (0)