@@ -16300,8 +16300,9 @@ \subsection{Conditional}
16300
16300
\LMHash{}%
16301
16301
It is a compile-time error if
16302
16302
the static type of $e_1$ may not be assigned to \code{bool}.
16303
- The static type of $c$ is the least upper bound (\ref{leastUpperBounds}) of
16304
- the static type of $e_2$ and the static type of $e_3$.
16303
+ The static type of $c$ is the least upper bound
16304
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16305
+ of the static type of $e_2$ and the static type of $e_3$.
16305
16306
16306
16307
16307
16308
\subsection{If-null Expressions}
@@ -16326,8 +16327,9 @@ \subsection{If-null Expressions}
16326
16327
and then $e$ evaluates to $r$.
16327
16328
16328
16329
\LMHash{}%
16329
- The static type of $e$ is the least upper bound (\ref{leastUpperBounds}) of
16330
- the static type of $e_1$ and the static type of $e_2$.
16330
+ The static type of $e$ is the least upper bound
16331
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16332
+ of the static type of $e_1$ and the static type of $e_2$.
16331
16333
16332
16334
16333
16335
\subsection{Logical Boolean Expressions}
@@ -21776,6 +21778,9 @@ \subsection{Subtypes}
21776
21778
Intersection types are \emph{not} supported in general,
21777
21779
only in this special case.%
21778
21780
}
21781
+ Every other form of type may occur during static analysis
21782
+ as well as during execution,
21783
+ and the subtype relationship is always determined in the same way.
21779
21784
21780
21785
% Subtype Rule Numbering
21781
21786
\newcommand{\SrnReflexivity}{1}
@@ -24521,7 +24526,7 @@ \subsection{Function Types}
24521
24526
A function object is always an instance of some class $C$ that implements
24522
24527
the class \FUNCTION{} (\ref{functionType}),
24523
24528
and which has a method named \CALL,
24524
- whose header is such that its function type is $C$ itself.
24529
+ whose signature is the function type $C$ itself.
24525
24530
\commentary{%
24526
24531
Consequently, all function types are subtypes of \FUNCTION{}
24527
24532
(\ref{subtypes}).%
0 commit comments