@@ -13740,16 +13740,18 @@ \subsection{Type \FUNCTION{}}
13740
13740
It is impossible to extend, implement, or mix in the class \FUNCTION{}.
13741
13741
13742
13742
\LMHash{}%
13743
- If a class declaration or mixin application has \FUNCTION{} as super-class ,
13744
- it instead uses \OBJECT{ } as super-class .
13743
+ If a class declaration or mixin application has \FUNCTION{} as superclass ,
13744
+ it instead uses \code{Object } as superclass .
13745
13745
13746
13746
\LMHash{}%
13747
13747
If a class or mixin declaration implements \FUNCTION{}, it has no effect.
13748
- It is as if the \FUNCTION was removed from the \code{implements} clause (and if it's the only implemented interface, the entire clause is removed).
13749
- The resulting class or mixin interface does not have \FUNCTION{} as a super-interface.
13748
+ It is as if the \FUNCTION was removed from the \code{implements} clause
13749
+ (and if it's the only implemented interface, the entire clause is removed).
13750
+ The resulting class or mixin interface
13751
+ does not have \FUNCTION{} as a superinterface.
13750
13752
13751
13753
\LMHash{}%
13752
- If a mixin application mixes \FUNCTION{} onto a super-class , it follows the
13754
+ If a mixin application mixes \FUNCTION{} onto a superclass , it follows the
13753
13755
normal rules for mixin-application, but since the result of that mixin
13754
13756
application is equivalent to a class with \code{implements Function}, and
13755
13757
that clause has no effect, the resulting class also does not
@@ -13760,9 +13762,10 @@ \subsection{Type \FUNCTION{}}
13760
13762
\rationale{Since using \FUNCTION{} in these ways has no effect, it would be
13761
13763
reasonable to disallow it completely, like we do extending, implementing or
13762
13764
mixing in types like \code{int} or \code{String}.
13763
- For backwards compatibility with Dart 1 programs, the syntax is allowed to remain,
13764
- even if it has no effect. Tools may choose to warning users that their code
13765
- has no effect.}
13765
+ For backwards compatibility with Dart 1 programs,
13766
+ the syntax is allowed to remain, even if it has no effect.
13767
+ Tools may choose to warn users that their code has no effect.}
13768
+
13766
13769
13767
13770
\subsection{Type \DYNAMIC{}}
13768
13771
\LMLabel{typeDynamic}
0 commit comments