Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f4986cc

Browse files
committed
Fixed a couple of typos, including LaTeX error
Change-Id: I5a50f7d27dfa9642af7249ae368f7e94c960ddd0 Reviewed-on: https://dart-review.googlesource.com/c/88829 Reviewed-by: Lasse R.H. Nielsen <[email protected]> Commit-Queue: Lasse R.H. Nielsen <[email protected]>
1 parent 68f77fa commit f4986cc

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/language/dartLangSpec.tex

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13740,16 +13740,18 @@ \subsection{Type \FUNCTION{}}
1374013740
It is impossible to extend, implement, or mix in the class \FUNCTION{}.
1374113741

1374213742
\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.
1374513745

1374613746
\LMHash{}%
1374713747
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.
1375013752

1375113753
\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
1375313755
normal rules for mixin-application, but since the result of that mixin
1375413756
application is equivalent to a class with \code{implements Function}, and
1375513757
that clause has no effect, the resulting class also does not
@@ -13760,9 +13762,10 @@ \subsection{Type \FUNCTION{}}
1376013762
\rationale{Since using \FUNCTION{} in these ways has no effect, it would be
1376113763
reasonable to disallow it completely, like we do extending, implementing or
1376213764
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+
1376613769

1376713770
\subsection{Type \DYNAMIC{}}
1376813771
\LMLabel{typeDynamic}

0 commit comments

Comments
 (0)