Skip to content

Commit 6ab5b5d

Browse files
committed
Remove obsolete reference to "mixin composition" from section Superclasses
1 parent b47674b commit 6ab5b5d

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

specification/dartLangSpec.tex

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4970,16 +4970,23 @@ \subsection{Superclasses}
49704970
%% superclass can be declared in that scope).
49714971

49724972
\LMHash{}%
4973-
The superclass $S'$ of a class $C$ whose declaration has a with clause
4974-
\code{\WITH{} $M_1, \ldots,\ M_k$}
4975-
and an extends clause
4976-
\code{\EXTENDS{} $S$}
4977-
is the abstract class obtained by application of
4978-
mixin composition (\ref{mixins}) $M_k* \cdots * M_1$ to $S$.
4979-
The name $S'$ is a fresh identifier.
4973+
The superclass $S'$ of a class $C$ whose declaration has an extends clause
4974+
\code{\EXTENDS\,\,$S$}
4975+
and a with clause
4976+
\code{\WITH\,\,$M_1, \ldots,\ M_k$}
4977+
is the following class
4978+
(\ref{mixinClasses}),
4979+
where the name $N$ is a fresh identifier:
4980+
4981+
\begin{normativeDartCode}
4982+
\ABSTRACT \CLASS{} $N$ = $S$ \WITH{} $M_1$, \ldots, $M_k$;
4983+
\end{normativeDartCode}
4984+
4985+
\LMHash{}%
49804986
If no \WITH{} clause is specified then the \EXTENDS{} clause of
49814987
a class $C$ specifies its superclass.
49824988
If no \EXTENDS{} clause is specified, then either:
4989+
49834990
\begin{itemize}
49844991
\item $C$ is \code{Object}, which has no superclass. OR
49854992
\item Class $C$ is deemed to have an \EXTENDS{} clause of the form

0 commit comments

Comments
 (0)