@@ -16314,8 +16314,9 @@ \subsection{Conditional}
16314
16314
\LMHash{}%
16315
16315
It is a compile-time error if
16316
16316
the static type of $e_1$ may not be assigned to \code{bool}.
16317
- The static type of $c$ is the least upper bound (\ref{leastUpperBounds}) of
16318
- the static type of $e_2$ and the static type of $e_3$.
16317
+ The static type of $c$ is the least upper bound
16318
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16319
+ of the static type of $e_2$ and the static type of $e_3$.
16319
16320
16320
16321
16321
16322
\subsection{If-null Expressions}
@@ -16340,8 +16341,9 @@ \subsection{If-null Expressions}
16340
16341
and then $e$ evaluates to $r$.
16341
16342
16342
16343
\LMHash{}%
16343
- The static type of $e$ is the least upper bound (\ref{leastUpperBounds}) of
16344
- the static type of $e_1$ and the static type of $e_2$.
16344
+ The static type of $e$ is the least upper bound
16345
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16346
+ of the static type of $e_1$ and the static type of $e_2$.
16345
16347
16346
16348
16347
16349
\subsection{Logical Boolean Expressions}
@@ -21790,6 +21792,9 @@ \subsection{Subtypes}
21790
21792
Intersection types are \emph{not} supported in general,
21791
21793
only in this special case.%
21792
21794
}
21795
+ Every other form of type may occur during static analysis
21796
+ as well as during execution,
21797
+ and the subtype relationship is always determined in the same way.
21793
21798
21794
21799
% Subtype Rule Numbering
21795
21800
\newcommand{\SrnReflexivity}{1}
@@ -24535,7 +24540,7 @@ \subsection{Function Types}
24535
24540
A function object is always an instance of some class $C$ that implements
24536
24541
the class \FUNCTION{} (\ref{functionType}),
24537
24542
and which has a method named \CALL,
24538
- whose header is such that its function type is $C$ itself.
24543
+ whose signature is the function type $C$ itself.
24539
24544
\commentary{%
24540
24545
Consequently, all function types are subtypes of \FUNCTION{}
24541
24546
(\ref{subtypes}).%
0 commit comments