Skip to content

Commit 8893206

Browse files
committed
Remove obsolete reference to "mixin composition" from section Superclasses
1 parent c5661f8 commit 8893206

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

specification/dartLangSpec.tex

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5063,13 +5063,19 @@ \subsection{Superclasses}
50635063
%% superclass can be declared in that scope).
50645064

50655065
\LMHash{}%
5066-
The superclass $S'$ of a class $C$ whose declaration has a with clause
5067-
\code{\WITH{} $M_1, \ldots,\ M_k$}
5068-
and an extends clause
5069-
\code{\EXTENDS{} $S$}
5070-
is the abstract class obtained by application of
5071-
mixin composition (\ref{mixins}) $M_k* \cdots * M_1$ to $S$.
5072-
The name $S'$ is a fresh identifier.
5066+
The superclass $S'$ of a class $C$ whose declaration has an extends clause
5067+
\code{\EXTENDS\,\,$S$}
5068+
and a with clause
5069+
\code{\WITH\,\,$M_1, \ldots,\ M_k$}
5070+
is the following class
5071+
(\ref{mixinClasses}),
5072+
where the name $N$ is a fresh identifier:
5073+
5074+
\begin{normativeDartCode}
5075+
\ABSTRACT \CLASS{} $N$ = $S$ \WITH{} $M_1$, \ldots, $M_k$;
5076+
\end{normativeDartCode}
5077+
5078+
\LMHash{}%
50735079
If no \WITH{} clause is specified then the \EXTENDS{} clause of
50745080
a class $C$ specifies its superclass.
50755081
If no \EXTENDS{} clause is specified, then either:

0 commit comments

Comments
 (0)