diff --git a/chapters/classes.tex b/chapters/classes.tex index 381f3bef8..5167b09d7 100644 --- a/chapters/classes.tex +++ b/chapters/classes.tex @@ -847,7 +847,7 @@ \subsection{Combining Base Classes and Other Elements}\label{restriction-on-comb It is not legal to combine equations, algorithms, components, non-empty base classes (see below), or protected elements with an extends from an array class, a class with non-empty \lstinline[language=grammar]!base-prefix!, a \firstuse{simple type} (\lstinline!Real!, \lstinline!Boolean!, \lstinline!Integer!, \lstinline!String! and enumeration types), or any class transitively extending from an array class, a class with non-empty \lstinline[language=grammar]!base-prefix!, or a simple type. -\begin{definition}[Empty class]\index{empty-class} +\begin{definition}[Empty class]\index{class!empty}\label{empty-class} A class without equations, algorithms, or components, and where any base-classes are themselves empty. \end{definition}