Skip to content

Commit 04f0430

Browse files
committed
Add missing declaration kind about getter/setter type error
1 parent e922a06 commit 04f0430

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
@@ -3837,7 +3837,8 @@ \subsection{Setters}
38373837
\LMHash{}%
38383838
It is a
38393839
\Error{compile-time error} if a setter declares a return type other than \VOID.
3840-
It is a \Error{compile-time error} if a class has
3840+
%% TODO(eernst): Come Dart 3, add 'mixin class', later: 'extension type'.
3841+
It is a \Error{compile-time error} if a library, class, mixin, or extension has
38413842
a setter named \code{$v$=} with argument type $T$ and
38423843
a getter named $v$ with return type $S$,
38433844
and $S$ is not a subtype of $T$.

0 commit comments

Comments
 (0)