@@ -16326,8 +16326,9 @@ \subsection{Conditional}
16326
16326
\LMHash{}%
16327
16327
It is a compile-time error if
16328
16328
the static type of $e_1$ may not be assigned to \code{bool}.
16329
- The static type of $c$ is the least upper bound (\ref{leastUpperBounds}) of
16330
- the static type of $e_2$ and the static type of $e_3$.
16329
+ The static type of $c$ is the least upper bound
16330
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16331
+ of the static type of $e_2$ and the static type of $e_3$.
16331
16332
16332
16333
16333
16334
\subsection{If-null Expressions}
@@ -16352,8 +16353,9 @@ \subsection{If-null Expressions}
16352
16353
and then $e$ evaluates to $r$.
16353
16354
16354
16355
\LMHash{}%
16355
- The static type of $e$ is the least upper bound (\ref{leastUpperBounds}) of
16356
- the static type of $e_1$ and the static type of $e_2$.
16356
+ The static type of $e$ is the least upper bound
16357
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16358
+ of the static type of $e_1$ and the static type of $e_2$.
16357
16359
16358
16360
16359
16361
\subsection{Logical Boolean Expressions}
@@ -21802,6 +21804,9 @@ \subsection{Subtypes}
21802
21804
Intersection types are \emph{not} supported in general,
21803
21805
only in this special case.%
21804
21806
}
21807
+ Every other form of type may occur during static analysis
21808
+ as well as during execution,
21809
+ and the subtype relationship is always determined in the same way.
21805
21810
21806
21811
% Subtype Rule Numbering
21807
21812
\newcommand{\SrnReflexivity}{1}
@@ -24547,7 +24552,7 @@ \subsection{Function Types}
24547
24552
A function object is always an instance of some class $C$ that implements
24548
24553
the class \FUNCTION{} (\ref{functionType}),
24549
24554
and which has a method named \CALL,
24550
- whose header is such that its function type is $C$ itself.
24555
+ whose signature is the function type $C$ itself.
24551
24556
\commentary{%
24552
24557
Consequently, all function types are subtypes of \FUNCTION{}
24553
24558
(\ref{subtypes}).%
0 commit comments