Skip to content

Commit

Permalink
Consistent use of terminology.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Nov 21, 2022
1 parent e8c2b40 commit fc6b266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/scoping.tex
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ \subsection{Global Name Lookup}\label{global-name-lookup}
\item
If the name is simple then the class \lstinline!A! is the result of lookup.
\item
If the name is a composite name then the class \lstinline!A! is temporarily flattened with an empty environment (i.e.\ no modifiers, see \cref{modification-environment}) and using the enclosing classes of the denoted class.
If the name is a composite name then the class \lstinline!A! is temporarily flattened with an empty environment (i.e.\ no modifiers, 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 elements only.
The class we look inside shall not be partial.
Expand Down

0 comments on commit fc6b266

Please sign in to comment.