From 834857fcf2b33f484badc0c7ff89c2bb255ac9c7 Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Mon, 12 Dec 2022 21:34:04 +0100 Subject: [PATCH] Update chapters/scoping.tex Co-authored-by: Henrik Tidefelt --- chapters/scoping.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapters/scoping.tex b/chapters/scoping.tex index 0ebe32bc5..e85e9bfd0 100644 --- a/chapters/scoping.tex +++ b/chapters/scoping.tex @@ -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}