Skip to content

Commit 0386e97

Browse files
authored
Fix some small errors and typos with primary constructors. (#4526)
1 parent 5a9edb0 commit 0386e97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accepted/future-releases/primary-constructors/feature-specification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ unambiguously a declaring parameter. Developers who wish to maintain a
125125
style whereby formal parameters are never modified will have a
126126
[lint][parameter_assignments] to flag all such mutations.
127127

128-
[parameter_assignments]: https://dart.dev/tools/linter-rules/parameter_assignmentshttps://dart.dev/tools/linter-rules/parameter_assignments
128+
[parameter_assignments]: https://dart.dev/tools/linter-rules/parameter_assignments
129129

130130
Similarly, with this feature a regular (non-declaring) formal parameter can
131131
not use the syntax `var name`, it must have a type (`T name`) or the type
@@ -770,7 +770,7 @@ does not support declaring constructors, that is a syntax error)*. This
770770
declaration is treated as a class, enum, respectively extension type
771771
declaration without a declaring header constructor which is obtained as
772772
described in the following. This determines the dynamic semantics of a
773-
declaring header constructor, and simiarly for a declaring body
773+
declaring header constructor, and similarly for a declaring body
774774
constructor.
775775

776776
A compile-time error occurs if the body of _D_ contains a non-redirecting

0 commit comments

Comments
 (0)