Skip to content

Commit 7aea1e0

Browse files
committed
Add missing declaration kind about getter/setter type error
1 parent acf5506 commit 7aea1e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specification/dartLangSpec.tex

+2-1
Original file line numberDiff line numberDiff line change
@@ -3842,7 +3842,8 @@ \subsection{Setters}
38423842
\LMHash{}%
38433843
It is a
38443844
\Error{compile-time error} if a setter declares a return type other than \VOID.
3845-
It is a \Error{compile-time error} if a class has
3845+
%% TODO(eernst): Come Dart 3, add 'mixin class', later: 'extension type'.
3846+
It is a \Error{compile-time error} if a library, class, mixin, or extension has
38463847
a setter named \code{$v$=} with argument type $T$ and
38473848
a getter named $v$ with return type $S$,
38483849
and $S$ is not a subtype of $T$.

0 commit comments

Comments
 (0)