Skip to content

Commit

Permalink
Change one case of "short class definition" -> "short-class-definition"
Browse files Browse the repository at this point in the history
Addressing comment by Hans:
- #2916 (comment)
  • Loading branch information
henrikt-ma committed Apr 12, 2021
1 parent c5e5310 commit 6ff2a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/classes.tex
Expand Up @@ -692,7 +692,7 @@ \subsection{Short Class Definitions}\label{short-class-definitions}

If a short class definition does not specify any specialized class the new class definition will inherit the specialized class (this rule applies iteratively and also for redeclare).

A \lstinline[language=grammar]!base-prefix! applied in the short class definition does not influence its type, but is applied to components declared of this type or types derived from it; see also \cref{restriction-on-combining-base-classes-and-other-elements}.
A \lstinline[language=grammar]!base-prefix! applied in the \lstinline[language=grammar]!short-class-definition! does not influence its type, but is applied to components declared of this type or types derived from it; see also \cref{restriction-on-combining-base-classes-and-other-elements}.

\begin{example}
\begin{lstlisting}[language=modelica]
Expand Down

0 comments on commit 6ff2a37

Please sign in to comment.