Skip to content

Commit

Permalink
NoDuplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jan 12, 2022
1 parent 06179f5 commit fdda26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/inheritance.tex
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ \subsection{Restrictions on the Kind of Base Class}\label{restrictions-on-the-ki
\end{lstlisting}
\end{example}

\subsection{Transitively Non-Replaceable}\label{restrictions-on-base-classes-and-constraining-types-to-be-transitively-non-replaceable}\label{transitively-non-replaceable}
\subsection{Require Transitively Non-Replaceable}\label{restrictions-on-base-classes-and-constraining-types-to-be-transitively-non-replaceable}\label{require-transitively-non-replaceable}

The class name used after \lstinline!extends! for base classes and for constraining classes must use a class reference considered transitively non-replaceable, see definition in \cref{transitively-non-replaceable}.
For a replaceable component declaration without \lstinline[language=grammar]!constraining-clause! the class must use a class reference considered transitively non-replaceable.
Expand Down

0 comments on commit fdda26b

Please sign in to comment.