Skip to content

Commit

Permalink
Clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Dec 15, 2020
1 parent 7840d28 commit 82c2533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ \subsection{Short Class Definitions}\label{short-class-definitions}
end IDENT1;
\end{lstlisting}

An exception to the above is that if the short class definition is declared as \lstinline!encapsulated!, then the modifiers cannot be looked up in the enclosing scope.
An exception to the above is that if the short class definition is declared as \lstinline!encapsulated!, then the modifiers follow the rules for encapsulated classes and cannot be looked up in the enclosing scope.

\begin{example}
Demonstrating the difference in scopes:
Expand Down

0 comments on commit 82c2533

Please sign in to comment.