Skip to content

Commit

Permalink
Update chapters/scoping.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 Dec 12, 2022
1 parent e967d03 commit 834857f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/scoping.tex
Expand Up @@ -98,8 +98,8 @@ \subsection{Composite Name Lookup}\label{composite-name-lookup}
\item
If the identifier denotes a class, that class is temporarily flattened (as if instantiating a component without modifiers of this class, see \cref{modification-environment}) and using the enclosing classes of the denoted class.
The rest of the name (e.g., \lstinline!B! or \lstinline!B.C!) is looked up among the declared named elements of the temporary flattened class.
If the class does not satisfy the requirements for a package, the lookup is restricted to encapsulated\indexinline{encapsulated} elements only.
The special case where the class satisfies the requirement for a package, but is not a package, is deprecated.
If the class does not satisfy the requirements for a \lstinline!package!, the lookup is restricted to encapsulated\indexinline{encapsulated} elements only.
The special case where the class satisfies the requirements for a \lstinline!package!, but is not declared as \lstinline!package!, is deprecated.
The class we look inside shall not be partial in a simulation model.
\end{itemize}

Expand Down

0 comments on commit 834857f

Please sign in to comment.