Skip to content

Commit

Permalink
Update chapters/inheritance.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Sep 6, 2022
1 parent 19de141 commit 5feefae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chapters/inheritance.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,10 @@ \subsection{Annotations for Redeclaration and Modification}\label{annotation-cho
annotation(choicesAllMatching = true);
\end{lstlisting}

The \lstinline!choicesAllMatching=true! annotation can also be applied to parameter records.
\end{example}

\begin{example}
Applying the \lstinline!choicesAllMatching = true! annotation to parameter records.
\begin{lstlisting}[language=modelica]
record Medium
parameter SI.Density rho "Density";
Expand Down

0 comments on commit 5feefae

Please sign in to comment.