From 51e4eef892b690bb8162ff79d76fc6406d197cbf Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Thu, 12 Aug 2021 19:46:30 +0200 Subject: [PATCH] Cross reference restriction on multiple extends-clauses --- chapters/inheritance.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/chapters/inheritance.tex b/chapters/inheritance.tex index d5af9ee38..5727f4618 100644 --- a/chapters/inheritance.tex +++ b/chapters/inheritance.tex @@ -115,6 +115,7 @@ \section{Inheritance -- Extends Clause}\label{inheritance-extends-clause} \subsection{Multiple Inheritance}\label{multiple-inheritance} Multiple inheritance is possible since multiple \lstinline!extends!-clauses can be present in a class. +As stated in \cref{the-inherited-contents-of-the-element}, it is illegal for one of these \lstinline!extends!-clauses to influence the lookup of another's (or its own) class name. \subsection{Inheritance of Protected and Public Elements}\label{inheritance-of-protected-and-public-elements}